PostSharpAPI ReferencePost­Sharp.​PatternsAssertion­Failed­Exception
Open sandboxFocus

AssertionFailedException Class

Exception thrown upon internal assertion failures in PostSharp Pattern Libraries.

Inheritance
AssertionFailedException
Namespace: PostSharp.Patterns
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class AssertionFailedException : Exception

Constructors

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.