PostSharp 6.9 / / Post­Sharp Documentation / 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.9.1.0 (6.9.1.0)
Syntax
C#
public bool IsWarning { get; set; }

Property Value

Type: Boolean
See Also