Skip to content

Commit

Permalink
Fix CustomEventSource test
Browse files Browse the repository at this point in the history
#110001 updated annotations on
EventSource. This adjusts the expected preserved members to match.
  • Loading branch information
sbomer committed Dec 6, 2024
1 parent f8f00a8 commit 497ed57
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down

0 comments on commit 497ed57

Please sign in to comment.