PostSharpAPI ReferencePost­Sharp.​ExtensibilityInvalid­Annotation­Exception
Open sandboxFocus

InvalidAnnotationException Class

Exception thrown at build time by implementation of CompileTimeValidate(Object) when an annotation is invalid.

Inheritance
InvalidAnnotationException
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
public class InvalidAnnotationException : Exception

Constructors

Name Description
InvalidAnnotationException()

Initializes a new InvalidAnnotationException with default message.

InvalidAnnotationException(SerializationInfo, StreamingContext)

Deserialization constructor.

InvalidAnnotationException(String)

Initializes a new InvalidAnnotationException and with a specified exception message.

InvalidAnnotationException(String, Exception)

Initializes a new InvalidAnnotationException with a specified exception message and inner Exception.