Reputation: 24067
I would like to turn off some Visual Studio warnings including:
But probably some of the goes from some plugin like Resharper
? I'm not sure...
Upvotes: 1
Views: 911
Reputation: 11721
Disable "Use implicitly typed local variable declaration"
ReSharper->Options
Code Inspection->Inspection Severity
Scroll down to "use 'var' keyword when possible" and change to "Do not show"
Disable "Field can be made read only"
Name doesn't match rule...
Upvotes: -1
Reputation: 564771
Those all sound like Resharper suggestions...
You should be able to change the "inspection options" right at the point of the warning. If you change it from Warning to Hint (or disable it entirely), it will not prompt you anymore.
Upvotes: 3