dotnet / dotnet/vscode-csharp

[Feature Request] Clarify methods referenced in parent

Open
#5,152 0 comments 0 reactions 0 assignees View on GitHub
Feature Request Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

Sometimes a parent class, interface or namespace provides a method that can be, or has to be overridden in the implementation. For example when using [`Form`](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form?view=windowsdesktop-6.0)s with the [`PreFilterMessage`](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.imessagefilter.prefiltermessage?view=windowsdesktop-6.0) method from [`IMessageFilter`](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.imessagefilter?view=windowsdesktop-6.0) to prevent illegal or unwanted input.
Currently, functions like these show up highlighted as a referenced method, but Code Lens reports 0 references which looks quite confusing to me.
![image](https://user-images.githubusercontent.com/14993038/161510374-5fbd97cc-30d7-4f77-bd1d-760b4b7aeb90.png)

Proposal:
Add some sort of identifier that shows it's inherited like `0 references | inherited` or `0 references | IMessageFilter`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.