dotnet/roslyn

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

Offen

#41.298 geöffnet am 30.01.2020

 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)C# (4.257 Forks)batch import
Area-IDEBugFeature - Renamehelp wanted

Repository-Metriken

Stars
 (20.414 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)

Beschreibung

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)

Contributor Guide