-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Area-IDEConcept-Design DebtEngineering Debt, Design Debt, or poor product code qualityEngineering Debt, Design Debt, or poor product code qualityDeveloper CommunityThe issue was originally reported on https://developercommunity.visualstudio.comThe issue was originally reported on https://developercommunity.visualstudio.comFeature - RecordsRecordsRecordsIDE-IntelliSenseCompletion, Signature Help, Quick InfoCompletion, Signature Help, Quick Info
Milestone
Description
Version Used:
Visual Studio 16.8.0 Preview 2.1
.NET SDK 5.0.100-preview.8.20417.9
Compiler version: '3.8.0-2.20418.7 (0276b9b)'. Language version: 9.0.
Steps to Reproduce:
Enter the following code:
public class Person
{
public string Name { get; init; }
}
public record PersonRecord
{
public string Name { get; init; }
}
public static class Factory
{
public static Person MakePerson(string name)
=> new() { Name = name };
public static PersonRecord MakeRecord(string name)
=> new() { Name = name };
}Expected Behavior:
Code Lens shows number of references above PersonRecord and PersonRecord.Name.
Actual Behavior:
Code Lens is missing for record type and its members:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-IDEConcept-Design DebtEngineering Debt, Design Debt, or poor product code qualityEngineering Debt, Design Debt, or poor product code qualityDeveloper CommunityThe issue was originally reported on https://developercommunity.visualstudio.comThe issue was originally reported on https://developercommunity.visualstudio.comFeature - RecordsRecordsRecordsIDE-IntelliSenseCompletion, Signature Help, Quick InfoCompletion, Signature Help, Quick Info
