CodeContractMessages
CodeContractMessages.Instance (SystemMessages.CodeContract) contains message descriptions scraped from mscorlib.dll for CodeContract.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA34502D9 | 0x80131542 | AssertionFailed | mscorlib.AssertionFailed | Assertion failed. | System.Diagnostics.Contracts.ContractException |
0xA34502DA | 0x80131542 | AssumptionFailed | mscorlib.AssumptionFailed | Assumption failed. | System.Diagnostics.Contracts.ContractException |
0xA34504E5 | 0x80131542 | PostconditionFailed | mscorlib.PostconditionFailed | Postcondition failed. | System.Diagnostics.Contracts.ContractException |
0xA34504E6 | 0x80131542 | PreconditionFailed | mscorlib.PreconditionFailed | Precondition failed. | System.Diagnostics.Contracts.ContractException |
0xA3450630 | AssertionFailedCnd | mscorlib.AssertionFailed_Cnd | Assertion failed: {0} | ||
0xA345062F | AssumptionFailedCnd | mscorlib.AssumptionFailed_Cnd | Assumption failed: {0} | ||
0xA3450635 | InvariantFailed | mscorlib.InvariantFailed | Invariant failed. | ||
0xA3450636 | InvariantFailedCnd | mscorlib.InvariantFailed_Cnd | Invariant failed: {0} | ||
0xA3450638 | MustUseCCRewrite | mscorlib.MustUseCCRewrite | An assembly (probably "{1}") must be rewritten using the code contracts binary rewriter (CCRewrite) because it is calling Contract.{0} and the CONTRACTS_FULL symbol is defined. Remove any explicit definitions of the CONTRACTS_FULL symbol from your project and rebuild. CCRewrite can be downloaded from http://go.microsoft.com/fwlink/?LinkID=169180. After the rewriter is installed, it can be enabled in Visual Studio from the project's Properties page on the Code Contracts pane. Ensure that "Perform Runtime Contract Checking" is enabled, which will define CONTRACTS_FULL. | ||
0xA3450632 | PostconditionFailedCnd | mscorlib.PostconditionFailed_Cnd | Postcondition failed: {0} | ||
0xA3450633 | PostconditionOnExceptionFailed | mscorlib.PostconditionOnExceptionFailed | Postcondition failed after throwing an exception. | ||
0xA3450634 | PostconditionOnExceptionFailedCnd | mscorlib.PostconditionOnExceptionFailed_Cnd | Postcondition failed after throwing an exception: {0} | ||
0xA3450631 | PreconditionFailedCnd | mscorlib.PreconditionFailed_Cnd | Precondition failed: {0} |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/