PostSharp6.0/API Reference/Post­Sharp.​Extensibility Namespace/Suppress­Warning­Attribute Class/Suppress­Warning­Attribute Constructor

SuppressWarningAttribute Constructor

Creates a new instance of SuppressWarningAttribute.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public SuppressWarningAttribute(
	string messageId
)

Parameters

messageId
Type: System.String
Identifier of the ignored warning.
See Also