System.Runtime.CompilerServices.ContractHelper: Method Members

The methods of System.Runtime.CompilerServices.ContractHelper are listed below. For a list of all members, see the ContractHelper Members list.

See Also: Inherited members from System.Object

Public Methods

static
RaiseContractFailedEvent(System.Diagnostics.Contracts.ContractFailureKind, string, string, Exception) : string

Used by the binary rewriter to activate the default failure behavior.

static
TriggerFailure(System.Diagnostics.Contracts.ContractFailureKind, string, string, string, Exception)

Triggers the default failure behavior.