Describe the bug
Types with event members are resolved with two additional IMethod members for subscribing to and unsubscribing from the given event member.
Reproducibility
Always
To Reproduce
Steps to reproduce the behavior:
Have a test assembly with a type containing only an event member
Resolve the test assembly
Observe the type methods count is not equal to zero
Expected behavior
Types with IEvent member types must not have any additional method members.
Libraries
MarkDoc.Members.Dnlib
Describe the bug Types with event members are resolved with two additional
IMethod
members for subscribing to and unsubscribing from the given event member.Reproducibility Always
To Reproduce Steps to reproduce the behavior:
Expected behavior Types with
IEvent
member types must not have any additional method members.Additional context Revealed in
UT.Members
tests