9 references to ContractHelper
mscorlib (9)
system\diagnostics\contracts\contracts.cs (2)
942
return System.Runtime.CompilerServices.
ContractHelper
.RaiseContractFailedEvent(failureKind, userMessage, conditionText, innerException);
954
System.Runtime.CompilerServices.
ContractHelper
.TriggerFailure(kind, displayMessage, userMessage, conditionText, innerException);
system\diagnostics\contracts\contractsbcl.cs (7)
82
System.Runtime.CompilerServices.
ContractHelper
.TriggerFailure(kind, Environment.GetResourceString("MustUseCCRewrite", contractKind, simpleName), null, null, null);
109
var displayMessage = System.Runtime.CompilerServices.
ContractHelper
.RaiseContractFailedEvent(failureKind, userMessage, conditionText, innerException);
113
System.Runtime.CompilerServices.
ContractHelper
.TriggerFailure(failureKind, displayMessage, userMessage, conditionText, innerException);
133
System.Runtime.CompilerServices.
ContractHelper
.InternalContractFailed += value;
142
System.Runtime.CompilerServices.
ContractHelper
.InternalContractFailed -= value;
232
HResult = System.Runtime.CompilerServices.
ContractHelper
.COR_E_CODECONTRACTFAILED;
238
HResult = System.Runtime.CompilerServices.
ContractHelper
.COR_E_CODECONTRACTFAILED;