PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Contracts Namespace/Range­Attribute Class/Range­Attribute Methods/Range­Attribute.​Compile­Time­Validate Method

RangeAttribute.CompileTimeValidate Method

Overload List
  NameDescription
Public methodCompileTimeValidate(Object)
Method invoked at build time to ensure that the aspect has been applied to the right target.
Protected methodCompileTimeValidate(LocationInfo)
Validates that the current aspect has been applied to a valid location.
(Inherited from LocationContractAttribute.)
See Also