Reputation: 81352
I must say I really like the new code analysis with VS 2010, I have a lot of areas in my code where I am not using CultureInfo.InvariantCulture
and code analysis is warming me about this.
I am pretty sure I want to use CultureInfo.InvariantCulture
where ever code analysis has detected it is missing on Convert.ToString operations.
Is there anyway to get VS to automatically fix warnings of this type?
Upvotes: 5
Views: 941
Reputation: 2500
You cannot do this in VS Code Analysis but CodeIt.Right performs similar analysis (only on source code) and includes auto corrections with every rule. Give it a try!
Upvotes: 2
Reputation: 50000
I don't think you can do that with Visual Studio but Resharper 5 has a Structural Search and Replace functionnality that could work for that.
Upvotes: 1