Contract (class)

This type is found in the namespace System.Diagnostics.Contracts

mAssumeVoid
mAssumeVoid
mAssertVoid
mAssertVoid
mForAllBoolean
mExistsBoolean
mEndContractBlockVoid
madd_ContractFailedVoid
mremove_ContractFailedVoid
mRequiresVoid
mRequiresVoid
mRequiresVoid
mRequiresVoid
mEnsuresVoid
mEnsuresVoid
mEnsuresOnThrowVoid
mEnsuresOnThrowVoid
mResult
mValueAtReturn
mOldValue
mInvariantVoid
mInvariantVoid
mForAllBoolean
mExistsBoolean
mEqualsBoolean
mGetHashCodeInt32
mGetTypeType
mToStringString
eContractFailed

Assume

Assume

conditionSystem.Boolean

Assert

conditionSystem.Boolean
userMessageSystem.String

Assert

conditionSystem.Boolean

ForAll

conditionSystem.Boolean
userMessageSystem.String

Exists

fromInclusiveSystem.Int32
toExclusiveSystem.Int32
predicateSystem.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

EndContractBlock

fromInclusiveSystem.Int32
toExclusiveSystem.Int32
predicateSystem.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

add_ContractFailed

.

remove_ContractFailed

valueSystem.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

Requires

valueSystem.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

Requires

conditionSystem.Boolean

Requires

conditionSystem.Boolean
userMessageSystem.String

Requires

conditionSystem.Boolean

Ensures

conditionSystem.Boolean
userMessageSystem.String

Ensures

conditionSystem.Boolean

EnsuresOnThrow

conditionSystem.Boolean
userMessageSystem.String

EnsuresOnThrow

conditionSystem.Boolean

Result

conditionSystem.Boolean
userMessageSystem.String

ValueAtReturn

.

OldValue

valueSystem.Diagnostics.Contracts.

Invariant

valueSystem.Diagnostics.Contracts.

Invariant

conditionSystem.Boolean

ForAll

conditionSystem.Boolean
userMessageSystem.String

Exists

collectionSystem.Collections.Generic.
predicateSystem.

Equals

collectionSystem.Collections.Generic.
predicateSystem.

GetHashCode

objSystem.Object

GetType

.

ToString

.

ContractFailed

.
.