C# Class System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute

Inheritance: Attribute
显示文件 Open project: dotnet/command-line-api

Public Methods

Method Description
UnconditionalSuppressMessageAttribute ( string category, string checkId )

Initializes a new instance of the UnconditionalSuppressMessageAttribute class, specifying the category of the tool and the identifier for an analysis rule.

Method Details

UnconditionalSuppressMessageAttribute() public method

Initializes a new instance of the UnconditionalSuppressMessageAttribute class, specifying the category of the tool and the identifier for an analysis rule.
public UnconditionalSuppressMessageAttribute ( string category, string checkId )
category string The category for the attribute.
checkId string The identifier of the analysis rule the attribute applies to.