Duplicate results for Find All Refs on a record primary constructor parameter
Open
Area-IDE
Feature - Records
Navigation-FAR
- Dominant language
- C#
- Stars
- 20.7k
- Forks
- 4.3k
- PR merge metrics
- PR metrics pending
Description
Using VS main.
**Repro:**
1. Create a console app,
2. Multi-target it to a few frameworks
3. Set program.cs to:
```
var r = new Record("My Record Title");
Console.WriteLine(r.PrimaryConstructorParametrr);
var r2 = new Record2();
Console.WriteLine(r2.Property);
public record Record(string? PrimaryConstructorParametrr);
public record Record2()
{
public string? Property { get; init; }
}
```
3. Run find all refs on the primary constructor parameter, and the property, and observe the difference.
**Actual:**
1 result per target framework for the primary constructor parameter
**Expected:**
Would be good if duplicate results were combined.
Contributor guide
Assessment
This issue has not been assessed yet.