PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Constraints Namespace / Protected­Attribute Class / Protected­Attribute Properties / Protected­Attribute.​Severity Property

ProtectedAttribute.Severity Property

Gets or sets the severity of messages emitted by this constraint.

Namespace:  PostSharp.Constraints
Assembly:  PostSharp (in PostSharp.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public SeverityType Severity { get; set; }

Property Value

Type: SeverityType
Remarks

The default value is Warning.

See Also