Inline variable
I ran into another oddity with inline variable today. Given a couple lines
of code similar to this:
MyClass c = SomeMethod(with, some, parameters);
return c;
I highlighted c in the return statement and selected Inline Variable, but I
got code similar to this:
MyClass c = SomeMethod(with, some, parameters);
MyClass c1;
return c1;
ReSharper 4.1.933.3
Visual Studio 2008 9.0.21022.8 RTM
Microsoft .NET Framework 3.5 SP 1
Please sign in to leave a comment.