Reporter | James Manning (James.Manning) |
---|---|
Created | Dec 5, 2011 9:27:23 PM |
Updated | Jan 14, 2012 1:54:33 AM |
Priority | Major |
Type | Bug |
Fix versions | Mirabile Futurum |
State | Open |
Assignee | Sergey Shkredov (serjic.shkredov) |
Subsystem | Refactoring |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
JetBrains ReSharper 6.1 EAP C# Edition Pre-Release
Build 6.1.8.21 on 2011-11-20T06:34:02
Plugins: none
Visual Studio 10.0.40219.1.
NOTE: @foo is a valid C# parameter name - the code builds and runs fine as-is.
Invoking ReSharper.Resharper_Rename with the caret on the @foo param of SomeMethod opens the rename dialog with the textbox filled in with 'foo' instead of '@foo'.
Build 6.1.8.21 on 2011-11-20T06:34:02
Plugins: none
Visual Studio 10.0.40219.1.
NOTE: @foo is a valid C# parameter name - the code builds and runs fine as-is.
Invoking ReSharper.Resharper_Rename with the caret on the @foo param of SomeMethod opens the rename dialog with the textbox filled in with 'foo' instead of '@foo'.
- can't rename it to just 'foo' since it considers that to be the existing name (the biggest pain point of this bug in my experience)
- can change it to '@foo' and does not flag that as the existing name
using System; class Program { static void Main(string[] args) { SomeMethod("some param"); } static void SomeMethod(string @foo) { Console.WriteLine(@foo); } }