Search code examples
visual-studiothisvisual-studio-2015quickaction

visual studio 2015 disable quick action "remove this qualitfication"


how can i prevent visual studio 2015 quick actions to suggest me the "remove 'this' qualitfication" to simlify the name? i don't want to disable the quick actions itself, just this hint. i cant find any settings in the options. i've already tried a few settings.

this is the message i'm talking about:

enter image description here

hope you can help, its driving me crazy.


Solution

  • just found the solution! you have to check the following checkbox: tools -> options -> text editor -> c# -> code style -> qualify member access with 'this'

    enter image description here