How to turn off Visual Studio 2015 Roslyn error highlighting? -


for resharper can selectively turn on/off, not find way turn off built-in visual studio 2015 code highlights/suggestions.

the reason want because have quite few left-join linqs , these queries messed visual studio.

i seeing lots of squiggles on linqs , prefer turn them off.

here 1 of error talking about.. have no idea how rid of it.

the result of expression 'true' since value of type 'int' never equal 'null' of type 'int?'

the result of expression 'true' since value of type 'int' never equal 'null' of type 'int?'

edit

i have found way fix scottgu's blog here: the c# ?? null coalescing operator (and using linq)

if talking code analysis rules. under project references, there analyzers node.

visual studio analyzers node

if right click , select "open active rule set", can turn off of analyzers don't want.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -