How to turn off visual studio 2015 Roslyn backlight?

For Resharper, we can selectively enable / disable it, but I could not find a way to disable the built-in elements / sentences of Visual Studio 2015.

The reason I want to do this is because I have quite a few left links, and these requests have mixed up Visual Studio.

I see a lot of screams on my linqs, and I prefer to disable them.

Here is one of the errors I'm talking about. I have no idea how to get rid of her.

The result of the expression is always "true", since a value of type "int" is never equal to "null" of type "int?"

The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'

EDIT

I found a way to fix this from ScottGu's blog here: The C # ?? null (and using it with LINQ)

+4
source
2

. node.

Visual Studio Analyzers Node

" ", , .

+7

((int?)result.Id).HasValue? NULL nul.

0

All Articles