PostSharp 6.5 / / 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: (
public bool IsWarning { get; set; }

Property Value

Type: Boolean
See Also