PostSharp6.0/API Reference/Post­Sharp.​Extensibility Namespace/Invalid­Annotation­Exception Class

InvalidAnnotationException Class

Exception thrown at build time by implementation of CompileTimeValidate(Object) when an annotation is invalid.
Inheritance Hierarchy
System.Object
  System.Exception
    PostSharp.Extensibility.InvalidAnnotationException

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.1.6.0 (6.1.6.0)
Syntax
C#
[SerializableAttribute]
public class InvalidAnnotationException : Exception
Constructors
  NameDescription
Public methodInvalidAnnotationException()
Initializes a new InvalidAnnotationException with default message.
Public methodInvalidAnnotationException(String)
Initializes a new InvalidAnnotationException and with a specified exception message.
Protected methodInvalidAnnotationException(SerializationInfo, StreamingContext)
Deserialization constructor.
Public methodInvalidAnnotationException(String, Exception)
Initializes a new InvalidAnnotationException with a specified exception message and inner Exception.
See Also