Skip to content

Commit e79526a

Browse files
Re-enable test now that the msbuild fix has propagated (dotnet#71745)
1 parent e70b6dc commit e79526a

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/tests/reflection/GenericAttribute/GenericAttributeMetadata.il

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@
1010

1111
// --- The following custom attribute is added automatically, do not uncomment -------
1212
// .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 07 01 00 00 00 00 )
13-
/* Re-enable once the fix to https://github.com/dotnet/msbuild/issues/6734 propagates to this repo.
1413
.custom instance void class SingleAttribute`1<int32>::.ctor() = ( 01 00 00 00 )
1514
.custom instance void class SingleAttribute`1<bool>::.ctor() = ( 01 00 00 00 )
1615
.custom instance void class MultiAttribute`1<int32>::.ctor() = ( 01 00 00 00 )
1716
.custom instance void class MultiAttribute`1<int32>::.ctor(!0) = ( 01 00 01 00 00 00 00 00 )
1817
.custom instance void class MultiAttribute`1<int32>::.ctor() = ( 01 00 01 00 54 08 05 56 61 6C 75 65 02 00 00 00 ) // ....T..Value....
1918
.custom instance void class MultiAttribute`1<bool>::.ctor() = ( 01 00 00 00 )
20-
.custom instance void class MultiAttribute`1<bool>::.ctor(!0) = ( 01 00 01 00 00 ) */
19+
.custom instance void class MultiAttribute`1<bool>::.ctor(!0) = ( 01 00 01 00 00 )
2120
.hash algorithm 0x00008004
2221
.ver 0:0:0:0
2322
}

src/tests/reflection/GenericAttribute/GenericAttributeTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class Program
88
{
99
static int Main(string[] args)
1010
{
11-
/* Re-enable once the fix to https://github.com/dotnet/msbuild/issues/6734 propagates to this repo.
1211
Assembly assembly = typeof(Class).GetTypeInfo().Assembly;
1312
Assert(CustomAttributeExtensions.GetCustomAttribute<SingleAttribute<int>>(assembly) != null);
1413
Assert(((ICustomAttributeProvider)assembly).GetCustomAttributes(typeof(SingleAttribute<int>), true) != null);
@@ -20,7 +19,6 @@ static int Main(string[] args)
2019
Assert(((ICustomAttributeProvider)assembly).IsDefined(typeof(SingleAttribute<bool>), true));
2120
Assert(CustomAttributeExtensions.GetCustomAttributes(assembly, typeof(SingleAttribute<>)).GetEnumerator().MoveNext());
2221
Assert(CustomAttributeExtensions.GetCustomAttributes(assembly, typeof(SingleAttribute<>)).GetEnumerator().MoveNext());
23-
*/
2422

2523
// Uncomment when https://github.com/dotnet/runtime/issues/66168 is resolved
2624
// Module module = programTypeInfo.Module;

0 commit comments

Comments
 (0)