Disable all Resharper warnings with a comment

后端 未结 6 722
没有蜡笔的小新
没有蜡笔的小新 2020-12-15 16:59

Is there a way to disable all Resharper warnings for a file or section of code with a single comment? I\'m trying to create some coding exercises for interviewing potential

6条回答
  •  青春惊慌失措
    2020-12-15 17:56

    According to this blog post on the JetBrains blog, in ReSharper 8 there will be a single comment that can disable resharper in a file.

    It will be

    // ReSharper disable All
    

    Note: The "All" is case-sensitive, the rest is not.

提交回复
热议问题