Refactoring removes internal C# type alias usage

After a move refactoring (which only had to add new usings) lines in total
different methods in the target file have been changed by R#:

from: var result = string.Empty;
to  : var result = String.Empty;

Which introduces new StyleCop warnings (SA1121) to appear.

Is there an option which disables this behavior?

--
/\/\arkus.

1 comment

Hello Markus,

I could not reproduce this behavior. Could you please attach a small sample
solution with exact repro steps? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

After a move refactoring (which only had to add new usings) lines in
total different methods in the target file have been changed by R#:

from: var result = string.Empty;
to  : var result = String.Empty;
Which introduces new StyleCop warnings (SA1121) to appear.

Is there an option which disables this behavior?



0

Please sign in to leave a comment.