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

Reference highlighting doesn't work from primary constructor base call constructor call #74804

Closed
Peter-Juhasz opened this issue Aug 19, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@Peter-Juhasz
Copy link

Version Used: 17.12.0 P1

Steps to Reproduce:

Kepernyofelvetel.2024-08-19.181021.mp4
public class A();

public class B() : A$$();

Similar and may be related to #74803

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Aug 19, 2024
@Rekkonnect
Copy link
Contributor

It seems that in the example code, INamedTypeSymbol A is returned instead of its constructor, which is why the reference is not found. So there needs to be a breaking change where GetSymbolInfo returns the constructor A() instead of the type itself.

@CyrusNajmabadi CyrusNajmabadi self-assigned this Nov 26, 2024
@CyrusNajmabadi CyrusNajmabadi added this to the 17.13 milestone Nov 26, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 26, 2024
@CyrusNajmabadi
Copy link
Member

Fixed with #76097.

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