In Metalama, use the same mechanism as for suppressing C# or analyzer warnings.
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 |