dotnet/roslyn

Refactor/rename parameter in interface does not rename in implementations to satisfy CA1725

开放

#41,298 创建于 2020年1月30日

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

仓库指标

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

描述

This issue has been moved from a ticket on Developer Community.


When I use the refactor|rename command for a parameter in an interface, any implementations that were using the same name are unchanged and therefore don't compile as I have the code analysis rule (CA1725) that requires the names to match turned on. The "refactor" command should never cause code not to compile surely!


Original Comments

Visual Studio Feedback System on 12/29/2019, 07:28 PM:

Visual Studio Feedback System on 12/30/2019, 10:04 AM:


Original Solutions

(no solutions)

贡献者指南