ReflectionMessages
ReflectionMessages.Instance (SystemMessages.Reflection) contains message descriptions scraped from mscorlib.dll for System.Reflection.*.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA345000B | 0x8013151A | AccessVoid | mscorlib.Access_Void | Cannot create an instance of void. | System.MemberAccessException |
0xA345003D | 0x80131605 | CustomAttributeFormatException | mscorlib.Arg_CustomAttributeFormatException | Binary format of the specified custom attribute was invalid. | System.Reflection.CustomAttributeFormatException |
0xA345004B | 0x80131509 | EHClauseNotClause | mscorlib.Arg_EHClauseNotClause | This ExceptionHandlingClause is not a clause. | System.InvalidOperationException |
0xA345004C | 0x80131509 | EHClauseNotFilter | mscorlib.Arg_EHClauseNotFilter | This ExceptionHandlingClause is not a filter. | System.InvalidOperationException |
0xA3450079 | 0x80131601 | InvalidFilterCriteriaException | mscorlib.Arg_InvalidFilterCriteriaException | Specified filter criteria was invalid. | System.Reflection.InvalidFilterCriteriaException |
0xA34500FA | 0x80131604 | TargetInvocationException | mscorlib.Arg_TargetInvocationException | Exception has been thrown by the target of an invocation. | System.Reflection.TargetInvocationException |
0xA34500FB | 0x8002000E | TargetParameterCountException | mscorlib.Arg_TargetParameterCountException | Number of parameters specified does not match the expected number. | System.Reflection.TargetParameterCountException |
0xA345011F | 0x80131509 | BadExceptionCodeGen | mscorlib.Argument_BadExceptionCodeGen | Incorrect code generation for exception block. | System.InvalidOperationException |
0xA3450124 | 0x80070057 | BadLabel | mscorlib.Argument_BadLabel | Bad label in ILGenerator. | System.ArgumentException |
0xA3450125 | 0x80070057 | BadLabelContent | mscorlib.Argument_BadLabelContent | Bad label content in ILGenerator. | System.ArgumentException |
0xA3450158 | 0x80070057 | EmitWriteLineType | mscorlib.Argument_EmitWriteLineType | EmitWriteLine does not support this field or local type. | System.ArgumentException |
0xA345015C | 0x80070057 | EmptyName | mscorlib.Argument_EmptyName | Empty name is not legal. | System.ArgumentException |
0xA34501AA | 0x80070057 | InvalidLabel | mscorlib.Argument_InvalidLabel | Invalid Label. | System.ArgumentException |
0xA34501E1 | 0x80070057 | MissingDefaultConstructor | mscorlib.Argument_MissingDefaultConstructor | was missing default constructor. | System.ArgumentException |
0xA3450205 | 0x80070057 | NotExceptionType | mscorlib.Argument_NotExceptionType | Does not extend Exception. | System.ArgumentException |
0xA3450206 | 0x80131515 | NotInExceptionBlock | mscorlib.Argument_NotInExceptionBlock | Not currently in an exception block. | System.NotSupportedException |
0xA3450208 | 0x80070057 | NotMethodCallOpcode | mscorlib.Argument_NotMethodCallOpcode | The specified opcode cannot be passed to EmitCall. | System.ArgumentException |
0xA3450221 | 0x80070057 | RedefinedLabel | mscorlib.Argument_RedefinedLabel | Label multiply defined. | System.ArgumentException |
0xA345022E | 0x80070057 | ShouldNotSpecifyExceptionType | mscorlib.Argument_ShouldNotSpecifyExceptionType | Should not specify exception type for catch clause for filter block. | System.ArgumentException |
0xA345023A | 0x80070057 | TooManyFinallyClause | mscorlib.Argument_TooManyFinallyClause | Exception blocks may have at most one finally clause. | System.ArgumentException |
0xA3450246 | 0x80070057 | UnclosedExceptionBlock | mscorlib.Argument_UnclosedExceptionBlock | The IL Generator cannot be used while there are unclosed exceptions. | System.ArgumentException |
0xA345024B | 0x80070057 | UnmatchedMethodForLocal | mscorlib.Argument_UnmatchedMethodForLocal | Local passed in does not belong to this ILGenerator. | System.ArgumentException |
0xA345024C | 0x80070057 | UnmatchingSymScope | mscorlib.Argument_UnmatchingSymScope | Non-matching symbol scope. | System.ArgumentException |
0xA34504EC | 0x80131602 | ReflectionTypeLoadLoadFailed | mscorlib.ReflectionTypeLoad_LoadFailed | Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. | System.Reflection.ReflectionTypeLoadException |
0xA3450559 | 0x8000211D | AmbigCust | mscorlib.RFLCT.AmbigCust | Multiple custom attributes of the same type found. | System.Reflection.AmbiguousMatchException |
0xA345055A | 0x8000211D | Ambiguous | mscorlib.RFLCT.Ambiguous | Ambiguous match found. | System.Reflection.AmbiguousMatchException |
0xA345055B | 0x80131601 | FltCritInt | mscorlib.RFLCT.FltCritInt | An Int32 must be provided for the filter criteria. | System.Reflection.InvalidFilterCriteriaException |
0xA345055C | 0x80131601 | FltCritString | mscorlib.RFLCT.FltCritString | A String must be provided for the filter criteria. | System.Reflection.InvalidFilterCriteriaException |
0xA345055D | 0x80131605 | InvalidFieldFail | mscorlib.RFLCT.InvalidFieldFail | '{0}' field specified was not found. | System.Reflection.CustomAttributeFormatException |
0xA345055E | 0x80131605 | InvalidPropFail | mscorlib.RFLCT.InvalidPropFail | '{0}' property specified was not found. | System.Reflection.CustomAttributeFormatException |
0xA345055F | 0x80131603 | TargITargMismatch | mscorlib.RFLCT.Targ_ITargMismatch | Object does not match target type. | System.Reflection.TargetException |
0xA3450560 | 0x80131603 | TargStatFldReqTarg | mscorlib.RFLCT.Targ_StatFldReqTarg | Non-static field requires a target. | System.Reflection.TargetException |
0xA3450561 | 0x80131603 | TargStatMethReqTarg | mscorlib.RFLCT.Targ_StatMethReqTarg | Non-static method requires a target. | System.Reflection.TargetException |
0xA3450727 | InvalidCaller | mscorlib.RtType.InvalidCaller | Caller is not a friend. |
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. ======================================================================*/