Explain System.Diagnostics.CodeAnalysis.SuppressMessage

前端 未结 2 835
既然无缘
既然无缘 2021-02-04 05:14

I have this kind of code in some applications (from microsoft)

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
  \"Microsoft.Naming\", 
  \"CA1702:Co         


        
2条回答
  •  心在旅途
    2021-02-04 06:20

    This attribute simply suppresses the generation of the specified warning messages during code analysis by TFS. No code is is excluded.

提交回复
热议问题