Share via


what is suppression state in vs2015?

Question

Monday, July 18, 2016 5:19 PM

What is suppression state in VS2015?  I'm new to VS2015 and "Suppression State" appears to be a new column in the Error List results. I googled the topic but wasn't able to find a description.

All replies (1)

Tuesday, July 19, 2016 5:29 AM âś…Answered

Hi dotnetteramg123,

It would be related to the code analyze, if you want to suppress or ignore Code Analysis violations in managed code, you could use it like the following sample: 

You could test it using the following sample with "All rules" be enabled.

https://msdn.microsoft.com/en-us/library/ms244717.aspx

Best Regards,

Jack

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.