Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ILSpy can't find any "Overridden By" methods #537

Closed
DerpMcDerp opened this issue Feb 14, 2015 · 1 comment
Closed

ILSpy can't find any "Overridden By" methods #537

DerpMcDerp opened this issue Feb 14, 2015 · 1 comment
Assignees

Comments

@DerpMcDerp
Copy link

  1. View the System.Windows.Markup.Primitives.MarkupObject class in the WindowsBase assembly.
  2. Right click on the "GetProperties(bool)" method
  3. Click on Analyze
  4. Try to expand "Overridden By"

No methods will appear.

If you go to all the derived types of MarkupObject (make sure ILSpy is configured to show internal types), you will see that they all override that method.

@EdHarvey EdHarvey self-assigned this Feb 15, 2015
@EdHarvey
Copy link
Member

Overriding methods were not shown because the base method was marked
'internal' and so would normally only be visible within its own
assembly.
However the assembly had a InternalsVisibleToAttribute specified which
allowed access from the assembly containing the derived types....

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants