File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -417,8 +417,8 @@ bool ProcessPrimaryQueue ()
417
417
418
418
while ( ! QueueIsEmpty ( ) ) {
419
419
ProcessQueue ( ) ;
420
- ProcessInterfaceMethods ( ) ;
421
420
ProcessMarkedTypesWithInterfaces ( ) ;
421
+ ProcessInterfaceMethods ( ) ;
422
422
ProcessDynamicCastableImplementationInterfaces ( ) ;
423
423
ProcessPendingBodies ( ) ;
424
424
DoAdditionalProcessing ( ) ;
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ namespace Mono.Linker.Tests.Cases.Attributes.OnlyKeepUsed
6
6
{
7
7
[ SetupCSharpCompilerToUse ( "csc" ) ]
8
8
[ SetupLinkerArgument ( "--used-attrs-only" , "true" ) ]
9
+
10
+ // Necessary to allow trimming the attribute instance from types in CoreLib.
11
+ [ SetupLinkerTrimMode ( "link" ) ]
12
+ // When we allow trimming CoreLib, some well-known types expected by ILVerify are removed.
13
+ [ SkipILVerify ]
9
14
public class MethodWithUnmanagedConstraint
10
15
{
11
16
public static void Main ( )
You can’t perform that action at this time.
0 commit comments