hailstorm75 / ModularDoc

Modular documentation generator for .NET libraries. Currently supporting Markdown only for GitHub, GitLab, and Bitbucket
MIT License
116 stars 11 forks source link

Event members are resolved with additional methods #111

Closed hailstorm75 closed 4 years ago

hailstorm75 commented 4 years ago

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:

  1. Have a test assembly with a type containing only an event member
  2. Resolve the test assembly
  3. Observe the type methods count is not equal to zero

Expected behavior Types with IEvent member types must not have any additional method members.

Additional context Revealed in UT.Members tests

hailstorm75 commented 4 years ago

Total: 15m