Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Video tutorials

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

  • Article

Class CachingAssertionFailedException

Exception thrown upon internal assertion failures in the Flashtrace.Formatters library.

Inheritance
CachingAssertionFailedException
Implements
Namespace: Metalama.Patterns.Caching
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
[RunTimeOrCompileTime]
public sealed class CachingAssertionFailedException : ApplicationException, ISerializable
Remarks

Throw CachingAssertionFailedException instead of using Debug assert methods so that the compiler can track execution flow.

Constructors

Name Description
CachingAssertionFailedException()

Initializes a new instance of the CachingAssertionFailedException class with the default error message.

CachingAssertionFailedException(string)

Initializes a new instance of the CachingAssertionFailedException class specifying the error message.

CachingAssertionFailedException(string, Exception)

Initializes a new instance of the CachingAssertionFailedException class specifying the error message and the inner Exception.

Extension Methods

  • Navigation