diff --git a/src/tools/illink/test/Mono.Linker.Tests.Cases/BCLFeatures/ETW/CustomEventSource.cs b/src/tools/illink/test/Mono.Linker.Tests.Cases/BCLFeatures/ETW/CustomEventSource.cs index 8aa02759e06a0d..28e0d002062ef3 100644 --- a/src/tools/illink/test/Mono.Linker.Tests.Cases/BCLFeatures/ETW/CustomEventSource.cs +++ b/src/tools/illink/test/Mono.Linker.Tests.Cases/BCLFeatures/ETW/CustomEventSource.cs @@ -17,8 +17,6 @@ public static void Main () [Kept] [KeptBaseType (typeof (EventSource))] [KeptAttributeAttribute (typeof (EventSourceAttribute))] - [KeptMember (".ctor()")] - [KeptMember (".cctor()")] [EventSource (Name = "MyCompany")] class MyCompanyEventSource : EventSource @@ -45,16 +43,12 @@ public class Tasks public int Unused; } - [KeptMember (".ctor()")] - [Kept] class NotMatching { } - [Kept] public static MyCompanyEventSource Log = new MyCompanyEventSource (); - [Kept] int private_member; [Kept]