Exception thrown upon internal assertion failures in PostSharp Pattern Libraries.
Implements
Namespace: PostSharp.Patterns
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class AssertionFailedException : Exception, ISerializableConstructors
| Name | Description |
|---|---|
| AssertionFailedException() | Initializes a new AssertionFailedException with the default error message. |
| AssertionFailedException(string) | Initializes a new AssertionFailedException and specifies the error message. |
| AssertionFailedException(string, Exception) | Initializes a new AssertionFailedException and specifies the error message and the inner Exception. |