Custom attribute that, when applied on an assembly, means that a given message
should be escalated to an error during the current PostSharp
session.
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class EscalatePostSharpMessageAttribute : Attribute
Remarks
Errors and fatal errors cannot be disabled.
Constructors
Name | Description |
---|---|
EscalatePostSharpMessageAttribute(string) | Initializes a new EscalatePostSharpMessageAttribute. |
Properties
Name | Description |
---|---|
MessageId | Gets the identifier of the message to be disabled. |