Given the following record:
public record SomeRecord(string First) {
public string Second => "FOO";
}
Clicking on Second SourceBrowser will happily find all references to it. But clicking on First it will find no references.
Debugging it, I noticed that it classified First as "parameter name" and Second as a "property name". I wonder if this is an issue with Roslyn? Tough for me to say (or even if that is the issue)
Interestingly, if I navigate to some code that does call First and click on it, it will link back to SomeRecord
Given the following record:
Clicking on
SecondSourceBrowser will happily find all references to it. But clicking onFirstit will find no references.Debugging it, I noticed that it classified
Firstas "parameter name" andSecondas a "property name". I wonder if this is an issue with Roslyn? Tough for me to say (or even if that is the issue)Interestingly, if I navigate to some code that does call
Firstand click on it, it will link back toSomeRecord