dotnet/roslyn

Fix name violation for record parameters does not update usages

开放

#47,175 创建于 2020年8月27日

 (1 条评论) (0 个反应) (0 位负责人)C# (4,257 个派生)batch import
Area-IDEBugFeature - Recordshelp wanted

仓库指标

星标
 (20,414 个星标)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 256 个 PR)

描述

Version Used: VS 16.8 preview 2

Steps to Reproduce:

    public record Record(int i) { int M() => i; }

has diagnostic:

IDE1006: Naming rule violation: These words must begin with upper case characters:

The provided code fix does not update usages leading to the non compiling code:

    public record Record(int I) { int M() => i; }

贡献者指南