File tree Expand file tree Collapse file tree
src/tests/reflection/GenericAttribute Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments