PostSharp6.1/API Reference/Post­Sharp.​Aspects.​Dependencies Namespace/Aspect­Dependency­Attribute Class/Aspect­Dependency­Attribute Properties/Aspect­Dependency­Attribute.​Is­Warning Property

AspectDependencyAttribute.IsWarning Property

If true, specifies that the constraint (of type Require or Conflict) should emit a warning instead of an error if not respected.

Namespace:  PostSharp.Aspects.Dependencies
Assembly:  PostSharp (in PostSharp.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public bool IsWarning { get; set; }

Property Value

Type: Boolean
See Also