TypeMessages
TypeMessages.Instance (SystemMessages.Type) contains message descriptions scraped from mscorlib.dll for Type.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA3450001 | 0x8013150B | AccCreateAbst | mscorlib.Acc_CreateAbst | Cannot create an abstract class. | System.Runtime.Remoting.RemotingException |
0xA3450002 | 0x8013151A | AccCreateAbstEx | mscorlib.Acc_CreateAbstEx | Cannot create an instance of {0} because it is an abstract class. | System.MemberAccessException |
0xA3450003 | 0x80131515 | AccCreateArgIterator | mscorlib.Acc_CreateArgIterator | Cannot dynamically create an instance of ArgIterator. | System.NotSupportedException |
0xA3450004 | 0x80070057 | AccCreateGeneric | mscorlib.Acc_CreateGeneric | Cannot create a type for which Type.ContainsGenericParameters is true. | System.ArgumentException |
0xA3450005 | 0x80070057 | AccCreateGenericEx | mscorlib.Acc_CreateGenericEx | Cannot create an instance of {0} because Type.ContainsGenericParameters is true. | System.ArgumentException |
0xA3450006 | 0x8013151A | AccCreateInterface | mscorlib.Acc_CreateInterface | Cannot create an instance of an interface. | System.MemberAccessException |
0xA3450007 | 0x8013151A | AccCreateInterfaceEx | mscorlib.Acc_CreateInterfaceEx | Cannot create an instance of {0} because it is an interface. | System.MemberAccessException |
0xA3450008 | 0x80131515 | AccCreateVoid | mscorlib.Acc_CreateVoid | Cannot dynamically create an instance of System.Void. | System.NotSupportedException |
0xA3450009 | 0x8013151A | AccNotClassInit | mscorlib.Acc_NotClassInit | Type initializer was not callable. | System.MemberAccessException |
0xA345000A | 0x80131507 | AccReadOnly | mscorlib.Acc_ReadOnly | Cannot set a constant field. | System.FieldAccessException |
0xA3450167 | 0x80070057 | FieldDeclaringTypeGeneric | mscorlib.Argument_FieldDeclaringTypeGeneric | Cannot resolve field {0} because the declaring type of the field handle {1} is generic. Explicitly provide the declaring type to GetFieldFromHandle. | System.ArgumentException |
0xA3450168 | 0x80070057 | FieldNeedGenericDeclaringType | mscorlib.Argument_FieldNeedGenericDeclaringType | The specified field must be declared on a generic type definition. | System.ArgumentException |
0xA34501D9 | 0x80070057 | MemberAndArray | mscorlib.Argument_MemberAndArray | Cannot supply both a MemberInfo and an Array to indicate the parent of a value type. | System.ArgumentException |
0xA34501DA | 0x80070057 | MembershipConditionElement | mscorlib.Argument_MembershipConditionElement | Element must be a |
System.ArgumentException |
0xA34501DB | 0x80070057 | MethodDeclaringTypeGeneric | mscorlib.Argument_MethodDeclaringTypeGeneric | Cannot resolve method {0} because the declaring type of the method handle {1} is generic. Explicitly provide the declaring type to GetMethodFromHandle. | System.ArgumentException |
0xA34501DC | 0x80070057 | MethodDeclaringTypeGenericLcg | mscorlib.Argument_MethodDeclaringTypeGenericLcg | Method '{0}' has a generic declaring type '{1}'. Explicitly provide the declaring type to GetTokenFor. | System.ArgumentException |
0xA34501DD | 0x80070057 | MethodNeedGenericDeclaringType | mscorlib.Argument_MethodNeedGenericDeclaringType | The specified method cannot be dynamic or global and must be declared on a generic type definition. | System.ArgumentException |
0xA34501DE | 0x80070057 | MethodRedefined | mscorlib.Argument_MethodRedefined | Method has been already defined. | System.ArgumentException |
0xA345023C | 0x80070057 | TypedReferenceInvalidField | mscorlib.Argument_TypedReferenceInvalidField | Field in TypedReferences cannot be static or init only. | System.ArgumentException |
0xA345023D | 0x80070057 | TypeIsWinRTType | mscorlib.Argument_TypeIsWinRTType | The type must not be a Windows Runtime type. | System.ArgumentException |
0xA345023E | 0x80070057 | TypeMustBeComCreatable | mscorlib.Argument_TypeMustBeComCreatable | The type must be creatable from COM. | System.ArgumentException |
0xA345023F | 0x80131522 | TypeMustBeVisibleFromCom | mscorlib.Argument_TypeMustBeVisibleFromCom | The specified type must be visible from COM. | System.TypeLoadException |
0xA3450240 | 0x80070057 | TypeMustNotBeComImport | mscorlib.Argument_TypeMustNotBeComImport | The type must not be imported from COM. | System.ArgumentException |
0xA3450241 | 0x80070057 | TypeNameTooLong | mscorlib.Argument_TypeNameTooLong | Type name was too long. The fully qualified type name must be less than 1,024 characters. | System.ArgumentException |
0xA3450242 | 0x80070057 | TypeNotActivatableViaWindowsRuntime | mscorlib.Argument_TypeNotActivatableViaWindowsRuntime | Type '{0}' does not have an activation factory because it is not activatable by Windows Runtime. | System.ArgumentException |
0xA3450243 | 0x80070057 | TypeNotComObject | mscorlib.Argument_TypeNotComObject | The type must be __ComObject or be derived from __ComObject. | System.ArgumentException |
0xA3450244 | 0x80070057 | TypeNotValid | mscorlib.Argument_TypeNotValid | The Type object is not valid. | System.ArgumentException |
0xA3450353 | 0x80131507 | FieldAccessInitOnly | mscorlib.FieldAccess_InitOnly | InitOnly (aka ReadOnly) fields can only be initialized in the type/instance constructor. | System.FieldAccessException |
0xA345044C | 0x80131513 | MissingConstructorName | mscorlib.MissingConstructor_Name | Constructor on type '{0}' not found. | System.MissingMethodException |
0xA345044D | 0x80131511 | MissingField | mscorlib.MissingField | Field not found. | System.MissingFieldException |
0xA345044E | 0x80131511 | MissingFieldName | mscorlib.MissingField_Name | Field '{0}' not found. | System.MissingFieldException |
0xA3450455 | 0x80131513 | MissingMember | mscorlib.MissingMember | Member not found. | System.MissingMethodException |
0xA3450456 | 0x80131512 | MissingMemberName | mscorlib.MissingMember_Name | Member '{0}' not found. | System.MissingMemberException |
0xA3450457 | 0x80131512 | MissingMemberNestErr | mscorlib.MissingMemberNestErr | TypedReference can only be made on nested value Types. | System.MissingMemberException |
0xA3450458 | 0x80131512 | MissingMemberTypeRef | mscorlib.MissingMemberTypeRef | FieldInfo does not match the target Type. | System.MissingMemberException |
0xA3450459 | 0x80131513 | MissingMethodName | mscorlib.MissingMethod_Name | Method '{0}' not found. | System.MissingMethodException |
0xA345045C | 0x80131522 | MissingType | mscorlib.MissingType | Type '{0}' not found. | System.TypeLoadException |
0xA34505FE | 0x80131534 | InitializationDefault | mscorlib.TypeInitialization_Default | Type constructor threw an exception. | System.TypeInitializationException |
0xA34505FF | 0x80131534 | InitializationType | mscorlib.TypeInitialization_Type | The type initializer for '{0}' threw an exception. | System.TypeInitializationException |
0xA3450600 | 0x80131522 | ResolveNestedType | mscorlib.TypeLoad_ResolveNestedType | Could not resolve nested type '{0}' in type "{1}'. | System.TypeLoadException |
0xA3450601 | 0x80070002 | ResolveType | mscorlib.TypeLoad_ResolveType | Could not resolve type '{0}'. | System.IO.FileNotFoundException |
0xA3450602 | 0x80070002 | ResolveTypeFromAssembly | mscorlib.TypeLoad_ResolveTypeFromAssembly | Could not resolve type '{0}' in assembly '{1}'. | System.IO.FileNotFoundException |
0xA3450639 | AccRvaStatic | mscorlib.Acc_RvaStatic | SkipVerification permission is needed to modify an image-based (RVA) static field. | ||
0xA3450676 | TypeDoesNotContainMethod | mscorlib.Argument_TypeDoesNotContainMethod | Type does not contain the given method. |
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. ======================================================================*/