Open sandboxFocus

Class SuppressWarningAttribute

In Metalama, use the same mechanism as for suppressing C# or analyzer warnings.

Inheritance
SuppressWarningAttribute
Namespace: PostSharp.Extensibility
Assembly: Metalama.Migration.dll
Syntax
[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
[Obsolete("In Metalama, use the same mechanism as for suppressing C# or analyzer warnings.", false)]
public class SuppressWarningAttribute : Attribute

Constructors

Name Description
SuppressWarningAttribute(string)

Properties

Name Description
MessageId
Reason