Resharper: How to hide suppressed warnings in Inspection Results?

≯℡__Kan透↙ 提交于 2019-12-07 03:38:41

This appears to be a bug in ReSharper. It works as expected (that is, the suppressed warning does not appear in the find results) if you use the disable and restore style comments, rather than the disable once comments. I.e.:

' ReSharper disable MemberCanBePrivate.Global
Public Property Foo As String
' ReSharper restore MemberCanBePrivate.Global

I've raised an issue that you can track and vote on: https://youtrack.jetbrains.com/issue/RSRP-444615

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!