20

The question relates to where can one customise the rule set for the new Visual Studio 2015 Light Bulb or Quick Actions feature.

Specifically I want to disable the one imaged below, for "simplifying" String.IsNullOrWhiteSpace to string.IsNullOrWhiteSpace.

The warning message given is:

IDE0001 Name can be simplified.

Light bulb feature

Ashley Medway
  • 7,151
  • 7
  • 49
  • 71

1 Answers1

21

Tools -> Options -> Text Editor -> C# -> Code Style

Then untick the following:

Prefer intrinsic predefined type keyword in member access expressions

enter image description here

Niels Filter
  • 4,430
  • 3
  • 28
  • 42