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

'nameof(Method)' should not appear in "Calls to 'Method'" in Call Hierarchy #71068

Open
vsfeedback opened this issue Dec 4, 2023 · 0 comments
Assignees
Labels

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
In the image below, I pulled up the Call Hierarchy for the 'UpdateServer' method, and got two results when there should only be one. The result marked with an X, just points to a place where I referenced the name of the method for logging. Referencing the name of a method is not calling it, so it should not be listed in the Call Hierarchy. This issue can slow down analysis of code, especially for methods with lots of references.

image.png


Original Comments

Feedback Bot on 11/30/2023, 08:15 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Dec 4, 2023
@sharwell sharwell changed the title Spurious entries in Call Hierarchy 'nameof(Method)' should not appear in "Calls to 'Method'" in Call Hierarchy Dec 4, 2023
@Cosifne Cosifne removed the untriaged Issues and PRs which have not yet been triaged by a lead label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants