// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /********************************************************************* ** ** ** CorError.h - lists the HResults used by the .NET Framework's ** ** Common Language Runtime. ** ** Created: September 3, 1999. ** ** ** *********************************************************************/ #ifndef __COMMON_LANGUAGE_RUNTIME_HRESULTS__ #define __COMMON_LANGUAGE_RUNTIME_HRESULTS__ /********************************************************************* We use the Univeral Runtime's facility code (0x13). See URTError.h for the details on how HResults are broken up throughout the .Net Development Platform For the Common Language Runtime (the .Net Development Platform's back-end), we've been given the range 0x1yyy for now. That range was further divided for different groups within the runtime: 0x10yy for Execution Engine errors 0x11yy for Metadata, TypeLib Export, and CLDB errors 0x12yy for MD Validator 0x13yy for Debugger and Profiler errors 0x14yy for Security errors 0x15yy for Classlib errors (BCL only) 0x16yy for more Classlib errors (BCL only) 0x17yy for shim errors 0x18yy for Verifier errors 0x19yy for Framework 0x1Ayy for Framework 0x1Byy for MD Validator 0x30yy for VSA errors *********************************************************************/ #include #ifndef FACILITY_URT #define FACILITY_URT 0x13 #endif #ifndef EMAKEHR #define SMAKEHR(val) MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_URT, val) #define EMAKEHR(val) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_URT, val) #endif // ****************** // FACILITY_UTF // ****************** // ****************** // Metadata errors // ****************** //**** ICeeFileGen errors. #define CEE_E_ENTRYPOINT EMAKEHR(0x1000) // The entry point info is invalid. #define CEE_E_CVTRES_NOT_FOUND EMAKEHR(0x1001) // cannot find cvtres.exe //**** EE errors #define MSEE_E_LOADLIBFAILED EMAKEHR(0x1010) // Failed to delay load library %s (Win32 error: %d). #define MSEE_E_GETPROCFAILED EMAKEHR(0x1011) // Failed to get entry point %s (Win32 error: %d). #define MSEE_E_MULTCOPIESLOADED EMAKEHR(0x1012) // Multiple copies of MSCOREE.dll have been loaded by the same process. // the following two are COR to match the name used in the library #define COR_E_APPDOMAINUNLOADED EMAKEHR(0x1014) // access unloaded appdomain #define COR_E_CANNOTUNLOADAPPDOMAIN EMAKEHR(0x1015) // Error while unloading an appdomain #define MSEE_E_ASSEMBLYLOADINPROGRESS EMAKEHR(0x1016) // Assembly is being currently being loaded #define MSEE_E_CANNOTCREATEAPPDOMAIN EMAKEHR(0x1017) // Attempt to create appdomain failed #define COR_E_FIXUPSINEXE EMAKEHR(0x1019) // Attempt to load an unverifiable exe with fixups (IAT with more than 2 sections or a TLS section) //**** Assembly Cache errors #define COR_E_MODULE_HASH_CHECK_FAILED EMAKEHR(0x1039) // The check of the module's hash failed. #define FUSION_E_REF_DEF_MISMATCH EMAKEHR(0x1040) // The located assembly's manifest definition does not match the assembly reference. #define FUSION_E_INVALID_PRIVATE_ASM_LOCATION EMAKEHR(0x1041) // The private assembly was located outside the appbase directory. #define FUSION_E_ASM_MODULE_MISSING EMAKEHR(0x1042) // A module specified in the manifest was not found. #define FUSION_E_UNEXPECTED_MODULE_FOUND EMAKEHR(0x1043) // Modules which are not in the manifest were streamed in. #define FUSION_E_PRIVATE_ASM_DISALLOWED EMAKEHR(0x1044) // A strongly-named assembly is required. #define FUSION_E_SIGNATURE_CHECK_FAILED EMAKEHR(0x1045) // The check of the signature failed. #define FUSION_E_DATABASE_ERROR EMAKEHR(0x1046) // An unexpected error was encountered in the Assembly Cache database. #define FUSION_E_INVALID_NAME EMAKEHR(0x1047) // The given assembly name or codebase was invalid. //============================================================================= // THE VALIDATOR IS CURRENTLY USING ERROR CODES STARTING WITH 0x1050 ONWARDS. // LOOK AT ERROR CODES STARTING FROM VLDTR_E_AS_NAMENULL. JUST A NOTE IN CASE // THE EE EVER COMES TO THE POINT OF NEEDING THOSE!!! //============================================================================= //**** Generic errors. #define CLDB_E_FILE_BADREAD EMAKEHR(0x1100) // Error occured during a read. #define CLDB_E_FILE_BADWRITE EMAKEHR(0x1101) // Error occured during a write. #define CLDB_E_FILE_READONLY EMAKEHR(0x1103) // File is read only. #define CLDB_E_NAME_ERROR EMAKEHR(0x1105) // An ill-formed name was given. #define CLDB_S_TRUNCATION SMAKEHR(0x1106) // STATUS: Data value was truncated. #define CLDB_E_TRUNCATION EMAKEHR(0x1106) // ERROR: Data value was truncated. #define CLDB_E_FILE_OLDVER EMAKEHR(0x1107) // Old version error. #define CLDB_E_RELOCATED EMAKEHR(0x1108) // A shared mem open failed to open at the originally // assigned memory address. #define CLDB_S_NULL SMAKEHR(0x1109) // NULL data value. #define CLDB_E_SMDUPLICATE EMAKEHR(0x110A) // Create of shared memory failed. A memory mapping of the same name already exists. #define CLDB_E_NO_DATA EMAKEHR(0x110B) // There isn't .CLB data in the memory or stream. #define CLDB_E_READONLY EMAKEHR(0x110C) // Database is read only. #define CLDB_E_INCOMPATIBLE EMAKEHR(0x110D) // The importing scope is not comptabile with the emitting scope //**** Schema errors. #define CLDB_E_FILE_CORRUPT EMAKEHR(0x110E) // File is corrupt. #define CLDB_E_SCHEMA_VERNOTFOUND EMAKEHR(0x110F) // Version %d of schema '%s' not found. #define CLDB_E_BADUPDATEMODE EMAKEHR(0x1110) // cannot open a incrementally build scope for full update //**** Index errors. #define CLDB_E_INDEX_NONULLKEYS EMAKEHR(0x1121) // Null value not allowed in unique index or primary key. #define CLDB_E_INDEX_DUPLICATE EMAKEHR(0x1122) // Unique index %s has been violated. #define CLDB_E_INDEX_BADTYPE EMAKEHR(0x1123) // The columns data type is not allowed in an index. #define CLDB_E_INDEX_NOTFOUND EMAKEHR(0x1124) // Index %s not found. #define CLDB_S_INDEX_TABLESCANREQUIRED SMAKEHR(0x1125) // Table scan required to run query. //**** Record errors. #define CLDB_E_RECORD_NOTFOUND EMAKEHR(0x1130) // Record wasn't found on lookup. #define CLDB_E_RECORD_OVERFLOW EMAKEHR(0x1131) // Too many records were returned for criteria. #define CLDB_E_RECORD_DUPLICATE EMAKEHR(0x1132) // Record is a duplicate. #define CLDB_E_RECORD_PKREQUIRED EMAKEHR(0x1133) // Primary key value is required. #define CLDB_E_RECORD_DELETED EMAKEHR(0x1134) // Record is valid but deleted. #define CLDB_E_RECORD_OUTOFORDER EMAKEHR(0x1135) // Record is emitted out of order. //**** Column errors. #define CLDB_E_COLUMN_OVERFLOW EMAKEHR(0x1140) // Data too large. #define CLDB_E_COLUMN_READONLY EMAKEHR(0x1141) // Column cannot be changed. #define CLDB_E_COLUMN_SPECIALCOL EMAKEHR(0x1142) // Too many RID or primary key columns, 1 is max. #define CLDB_E_COLUMN_PKNONULLS EMAKEHR(0x1143) // Primary key column %s may not allow the null value. //**** Table errors. #define CLDB_E_TABLE_CANTDROP EMAKEHR(0x1150) // Can't auto-drop table while open. //**** Object errors. #define CLDB_E_OBJECT_NOTFOUND EMAKEHR(0x1151) // Object was not found in the database. #define CLDB_E_OBJECT_COLNOTFOUND EMAKEHR(0x1152) // The column was not found. //**** Vector errors. #define CLDB_E_VECTOR_BADINDEX EMAKEHR(0x1153) // The index given was invalid. //**** Heap errors; #define CLDB_E_TOO_BIG EMAKEHR(0x1154) // A blob or string was too big. //**** IMeta* errors. #define META_E_DUPLICATE EMAKEHR(0x1180) // Attempt to define an object that already exists. #define META_E_GUID_REQUIRED EMAKEHR(0x1181) // A guid was not provided where one was required. #define META_E_TYPEDEF_MISMATCH EMAKEHR(0x1182) // Merge: an import typedef matched ns.name, but not version and guid. #define META_E_MERGE_COLLISION EMAKEHR(0x1183) // Merge: conflict between import and emit #define META_E_METHD_NOT_FOUND EMAKEHR(0x1187) // Merge: Class already in emit scope, but member not found #define META_E_FIELD_NOT_FOUND EMAKEHR(0x1188) // Merge: Class already in emit scope, but member not found #define META_S_PARAM_MISMATCH SMAKEHR(0x1189) // Merge: Parameter information mismatched. #define META_E_PARAM_MISMATCH EMAKEHR(0x1189) // Merge: Parameter information mismatched. #define META_E_BADMETADATA EMAKEHR(0x118A) // Merge: Inconsistency in meta data import scope #define META_E_INTFCEIMPL_NOT_FOUND EMAKEHR(0x118B) // Merge: Class already in emit scope, but interfaceimpl not found #define META_E_CLASS_LAYOUT_INCONSISTENT EMAKEHR(0x118D) // Merge: Class is duplicated but class layout information is not consistent #define META_E_FIELD_MARSHAL_NOT_FOUND EMAKEHR(0x118E) // Merge: Field is duplicated but we cannot find the matching FieldMarshal information #define META_E_METHODSEM_NOT_FOUND EMAKEHR(0x118F) // Merge: #define META_E_EVENT_NOT_FOUND EMAKEHR(0x1190) // Merge: Method is duplicated but we cannot find the matching event info. #define META_E_PROP_NOT_FOUND EMAKEHR(0x1191) // Merge: Method is duplicated but we cannot find the maching property info. #define META_E_BAD_SIGNATURE EMAKEHR(0x1192) // Bad binary signature #define META_E_BAD_INPUT_PARAMETER EMAKEHR(0x1193) // Bad input parameters #define META_E_METHDIMPL_INCONSISTENT EMAKEHR(0x1194) // Merge: duplicated methods have inconsistent ImplFlags #define META_E_MD_INCONSISTENCY EMAKEHR(0x1195) // Merge: Inconsistency in meta data #define META_E_CANNOTRESOLVETYPEREF EMAKEHR(0x1196) // Cannot resolve typeref #define META_S_DUPLICATE SMAKEHR(0x1197) // Attempt to define an object that already exists in valid scenerios. #define META_E_STRINGSPACE_FULL EMAKEHR(0x1198) // No logical space left to create more user strings. #define META_E_UNEXPECTED_REMAP EMAKEHR(0x1199) // A TokenRemap occurred which we weren't prepared to handle. #define META_E_HAS_UNMARKALL EMAKEHR(0x119A) // Unmark all has been called already #define META_E_MUST_CALL_UNMARKALL EMAKEHR(0x119B) // Must call UnmarkAll first before marking. #define TLBX_E_CANT_LOAD_MODULE EMAKEHR(0x11A0) // TypeLib export: can't open the module to export. #define TLBX_E_CANT_LOAD_CLASS EMAKEHR(0x11A1) // TypeLib export: can't load a class. #define TLBX_E_NULL_MODULE EMAKEHR(0x11A2) // TypeLib export: the hMod of a loaded class is 0; can't export it. #define TLBX_E_NO_CLSID_KEY EMAKEHR(0x11A3) // TypeLib export: no CLSID or Interface subkey to HKCR. #define TLBX_E_CIRCULAR_EXPORT EMAKEHR(0x11A4) // TypeLib export: attempt to export a CLB imported from a TLB. #define TLBX_E_CIRCULAR_IMPORT EMAKEHR(0x11A5) // TypeLib import: attempt to import a TLB exported from a CLB. #define TLBX_E_BAD_NATIVETYPE EMAKEHR(0x11A6) // TypeLib export: bad Native type in method signature. #define TLBX_E_BAD_VTABLE EMAKEHR(0x11A7) // TypeLib import: non-increasing vtable (duplicate slots). #define TLBX_E_CRM_NON_STATIC EMAKEHR(0x11A8) // TypeLib export: the COM register method is non static. #define TLBX_E_CRM_INVALID_SIG EMAKEHR(0x11A9) // TypeLib export: the specified COM register method does not have the correct signature. #define TLBX_E_CLASS_LOAD_EXCEPTION EMAKEHR(0x11AA) // TypeLib export: can't load, have the class load exception. #define TLBX_E_UNKNOWN_SIGNATURE EMAKEHR(0x11AB) // TypeLib export: unknown element in signature. #define TLBX_E_REFERENCED_TYPELIB EMAKEHR(0x11AC) // TypeLib import: reference to an external typelib. #define TLBX_S_REFERENCED_TYPELIB SMAKEHR(0x11AC) // TypeLib import: reference to an external typelib. #define TLBX_E_INVALID_NAMESPACE EMAKEHR(0x11AD) // TypeLib import: an imported typelib has an invalid namespace name. #define TLBX_E_LAYOUT_ERROR EMAKEHR(0x11AE) // Typelib export: an error on Layout() #define TLBX_E_NOTIUNKNOWN EMAKEHR(0x11AF) // Typelib import: Interface not derived from IUnknown. #define TLBX_E_NONVISIBLEVALUECLASS EMAKEHR(0x11B0) // Typelib export: Non COM visible value type in method signature. #define TLBX_E_LPTSTR_NOT_ALLOWED EMAKEHR(0x11B1) // Typelib export: Types which contain the native type NATIVE_TYPE_LPTSTR are not allowed to be exported to COM. #define TLBX_E_AUTO_CS_NOT_ALLOWED EMAKEHR(0x11B2) // Typelib export: Types with a char set of auto are not allowed to be exported to COM. #define TLBX_S_NOSTDINTERFACE SMAKEHR(0x11B3) // Typelib export: Found an interface marked as IID_IDispatch or IID_IUnknown. #define TLBX_S_DUPLICATE_DISPID SMAKEHR(0x11B4) // Typelib export: duplicate dispid found; ignored. #define TLBX_E_ENUM_VALUE_INVALID EMAKEHR(0x11B5) // Typelib export: The enum value is not legal for a typelib. #define TLBX_E_DUPLICATE_IID EMAKEHR(0x11B6) // Typelib export: Duplicate IID #define TLBX_E_NO_NESTED_ARRAYS EMAKEHR(0x11B7) // Tyeplib export: detected nested arrays. #define TLBX_E_PARAM_ERROR_NAMED EMAKEHR(0x11B8) // Typelib import: param type couldn't be converted. #define TLBX_E_PARAM_ERROR_UNNAMED EMAKEHR(0x11B9) // Typelib import: param type couldn't be converted -- param name unknown. #define TLBX_E_AGNOST_SIGNATURE EMAKEHR(0x11BA) // TypeLib export: size agnostic element in signature. #define TLBX_E_CONVERT_FAIL EMAKEHR(0x11BB) // TypeLib export: exporter failed. #define TLBX_W_DUAL_NOT_DISPATCH EMAKEHR(0x11BC) // Typelib import: [dual] interface not derived from IDispatch. #define TLBX_E_BAD_SIGNATURE EMAKEHR(0x11BD) // Typelib export: unconvertable signature (use specific error for reporting!) #define TLBX_E_ARRAY_NEEDS_NT_FIXED EMAKEHR(0x11BE) // Typelib export: non-fixed array in struct #define TLBX_E_CLASS_NEEDS_NT_INTF EMAKEHR(0x11BF) // Typelib export: non-interface class in struct #define TLBX_E_INVALID_TYPEINFO EMAKEHR(0x1160) // Typelib import: invalid type, not converted. #define TLBX_E_INVALID_TYPEINFO_UNNAMED EMAKEHR(0x1161) // Typelib import: invalid type, not converted -- name unknown. #define TLBX_E_CTX_NESTED EMAKEHR(0x1162) // Typelib export: Format string for nested contexts. #define TLBX_E_ERROR_MESSAGE EMAKEHR(0x1163) // Typelib export: Error message wrapper. #define TLBX_E_CANT_SAVE EMAKEHR(0x1164) // Typelib export: cant "SaveAllChanges()" #define TLBX_W_LIBNOTREGISTERED EMAKEHR(0x1165) // Typelib export: type library is not registered. #define TLBX_E_CANTLOADLIBRARY EMAKEHR(0x1166) // Typelib export: type library cannot be loaded. #define TLBX_E_BAD_VT_TYPE EMAKEHR(0x1167) // Typelib import: invalid VT_*, not converted. #define TLBX_E_NO_MSCOREE_TLB EMAKEHR(0x1168) // Typelib export: can't load mscoree.tlb #define TLBX_E_BAD_MSCOREE_TLB EMAKEHR(0x1169) // Typelib export: can't get a required typeinfo from mscoree.tlb. #define TLBX_E_TLB_EXCEPTION EMAKEHR(0x116a) // Typelib import: fault reading a typelib. #define TLBX_E_MULTIPLE_LCIDS EMAKEHR(0x116b) // Typelib import: Multiple LCID's parameters on a method. #define TLBX_I_TYPEINFO_IMPORTED SMAKEHR(0x116c) // Typelib import: progress report. #define TLBX_E_AMBIGUOUS_RETURN EMAKEHR(0x116d) // Typelib import: duplicate or ambiguous return types. #define TLBX_E_DUPLICATE_TYPE_NAME EMAKEHR(0x116e) // Typelib import: duplicate name (due to user-defined name). #define TLBX_I_USEIUNKNOWN SMAKEHR(0x116f) // Typelib export: substituted IUnknown for type. #define TLBX_I_UNCONVERTABLE_ARGS SMAKEHR(0x1170) // Typelib import: signature can't be converted (eg, struct**) #define TLBX_I_UNCONVERTABLE_FIELD SMAKEHR(0x1171) // Typelib import: signature can't be converted (eg, struct**) #define TLBX_I_NONSEQUENTIALSTRUCT EMAKEHR(0x1172) // Typelib export: Can't convert non-sequential structs. #define TLBX_W_WARNING_MESSAGE SMAKEHR(0x1173) // Typelib export: Warning message wrapper. #define TLBX_I_RESOLVEREFFAILED EMAKEHR(0x1174) // Typelib import: The resolve ref call failed. #define TLBX_E_ASANY EMAKEHR(0x1175) // Typelib export: Encounterd "AsAny" -- ignored. #define TLBX_E_INVALIDLCIDPARAM EMAKEHR(0x1176) // Typelib export: Encounterd an LCID attribute set to an invalid param. #define TLBX_E_LCIDONDISPONLYITF EMAKEHR(0x1177) // Typelib export: Encounterd an LCID attribute on a disp only interface. #define TLBX_E_NONPUBLIC_FIELD EMAKEHR(0x1178) // Typelib export: Non-public field in public struct. #define TLBX_I_TYPE_EXPORTED SMAKEHR(0x1179) // Typelib export: type exported #define TLBX_I_DUPLICATE_DISPID SMAKEHR(0x117A) // Typelib export: duplicate dispid -- auto corrected. #define TLBX_E_BAD_NAMES EMAKEHR(0x117B) // Typelib export: bad names list. #define TLBX_I_REF_TYPE_AS_STRUCT SMAKEHR(0x117C) // Typelib export: referenct tyep had layout, exported as struct. #define META_E_CA_INVALID_TARGET EMAKEHR(0x11C0) // Known custom attribute on invalid target. #define META_E_CA_INVALID_VALUE EMAKEHR(0x11C1) // Known custom attribute had invalid value. #define META_E_CA_INVALID_BLOB EMAKEHR(0x11C2) // Known custom attribute blob is bad format. #define META_E_CA_REPEATED_ARG EMAKEHR(0x11C3) // Known custom attribute blob has repeated named argument. #define META_E_CA_UNKNOWN_ARGUMENT EMAKEHR(0x11C4) // Known custom attrubte named arg not recognized. #define META_E_CA_VARIANT_NYI EMAKEHR(0x11C5) // Known attribute named argument doesn't support variant. #define META_E_CA_ARRAY_NYI EMAKEHR(0x11C6) // Known attribute named argument doesn't support array. #define META_E_CA_UNEXPECTED_TYPE EMAKEHR(0x11C7) // Known attribute parser found unexpected type. #define META_E_CA_INVALID_ARGTYPE EMAKEHR(0x11C8) // Known attribute parser only handles fields -- no properties. #define META_E_CA_INVALID_ARG_FOR_TYPE EMAKEHR(0x11C9) // Known attribute parser found an argument that is invalid for the object it is applied to. #define META_E_CA_INVALID_UUID EMAKEHR(0x11CA) // The format of the UUID was invalid. #define META_E_CA_INVALID_MARSHALAS_FIELDS EMAKEHR(0x11CB) // The MarshalAs attribute has fields set that are not valid for the specified unmanaged type. #define META_E_CA_NT_FIELDONLY EMAKEHR(0x11CC) // The specified unmanaged type is only valid on fields. #define META_E_CA_NEGATIVE_PARAMINDEX EMAKEHR(0x11CD) // The parameter index cannot be negative. #define META_E_CA_NEGATIVE_MULTIPLIER EMAKEHR(0x11CE) // The multiplier cannot be negative. #define META_E_CA_NEGATIVE_CONSTSIZE EMAKEHR(0x11CF) // The constant size cannot be negative. #define META_E_CA_FIXEDSTR_SIZE_REQUIRED EMAKEHR(0x11D0) // A fixed string requires a size. #define META_E_CA_CUSTMARSH_TYPE_REQUIRED EMAKEHR(0x11D1) // A custom marshaler requires the custom marshaler type. #define META_E_CA_FILENAME_REQUIRED EMAKEHR(0x11d2) // A DllImport attribute requires a filename. // Return values from validator functions. #define VLDTR_S_WRN SMAKEHR(0x1200) // Warnings found in the validator. #define VLDTR_S_ERR SMAKEHR(0x1201) // Errors found in the validator. #define VLDTR_S_WRNERR SMAKEHR(0x1202) // Warnings and errors found in the validator. // Validator structural errors. #define VLDTR_E_RID_OUTOFRANGE EMAKEHR(0x1203) // Rid is out of range. #define VLDTR_E_CDTKN_OUTOFRANGE EMAKEHR(0x1204) // Coded token type is out of range. #define VLDTR_E_CDRID_OUTOFRANGE EMAKEHR(0x1205) // Coded rid is out of range. #define VLDTR_E_STRING_INVALID EMAKEHR(0x1206) // String offset is invalid. #define VLDTR_E_GUID_INVALID EMAKEHR(0x1207) // GUID offset is invalid. #define VLDTR_E_BLOB_INVALID EMAKEHR(0x1208) // Blob offset if invalid. // Validator semantic errors. #define VLDTR_E_MOD_MULTI EMAKEHR(0x1209) // Multiple module records found. #define VLDTR_E_MOD_NULLMVID EMAKEHR(0x120A) // Module has null MVID. #define VLDTR_E_TR_NAMENULL EMAKEHR(0x120B) // TypeRef name is NULL. #define VLDTR_E_TR_DUP EMAKEHR(0x120C) // TypeRef has a dup. #define VLDTR_E_TD_NAMENULL EMAKEHR(0x120D) // TypeDef name is NULL. #define VLDTR_E_TD_DUPNAME EMAKEHR(0x120E) // TypeDef has a dup based on name+namespace. #define VLDTR_E_TD_DUPGUID EMAKEHR(0x120F) // TypeDef has a dup based on GUID. #define VLDTR_E_TD_NOTIFACEOBJEXTNULL EMAKEHR(0x1210) // TypeDef that's not an Interface and not System.Object extends nil parent. #define VLDTR_E_TD_OBJEXTENDSNONNULL EMAKEHR(0x1211) // System.Object extends a non-nil parent. #define VLDTR_E_TD_EXTENDSSEALED EMAKEHR(0x1212) // TypeDef extends sealed class. #define VLDTR_E_TD_DLTNORTSPCL EMAKEHR(0x1213) // TypeDef is Deleted but not marked with RTSpecialName. #define VLDTR_E_TD_RTSPCLNOTDLT EMAKEHR(0x1214) // TypeDef is marked RTSpecialName, but is not a Deleted record. #define VLDTR_E_MI_DECLPRIV EMAKEHR(0x1215) // MethodImpl's Decl is private #define VLDTR_E_AS_BADNAME EMAKEHR(0x1216) // Assembly [Ref] name has path and/or extension. #define VLDTR_E_FILE_SYSNAME EMAKEHR(0x1217) // File has a system name (con, com, aux, etc.). #define VLDTR_E_MI_BODYSTATIC EMAKEHR(0x1218) // MethodImpl's body is static. #define VLDTR_E_TD_IFACENOTABS EMAKEHR(0x1219) // TypeDef is marked Interface but not Abstract. #define VLDTR_E_TD_IFACEPARNOTNIL EMAKEHR(0x121A) // TypeDef is marked Interface but parent is not Nil. #define VLDTR_E_TD_IFACEGUIDNULL EMAKEHR(0x121B) // TypeDef is marked Interface but GUID is NULL. #define VLDTR_E_MI_DECLFINAL EMAKEHR(0x121C) // TMethodImpl's Decl is final. #define VLDTR_E_TD_VTNOTSEAL EMAKEHR(0x121D) // TypeDef is marked ValueType but not marked Sealed. #define VLDTR_E_PD_BADFLAGS EMAKEHR(0x121E) // Param has extra bits in flags. #define VLDTR_E_IFACE_DUP EMAKEHR(0x121F) // InterfaceImpl has a dup. #define VLDTR_E_MR_NAMENULL EMAKEHR(0x1220) // MemberRef name is NULL. #define VLDTR_E_MR_VTBLNAME EMAKEHR(0x1221) // MemberRef has an invalid name, _VtblGap*. #define VLDTR_E_MR_DELNAME EMAKEHR(0x1222) // MemberRef has an invalid name, _Deleted*. #define VLDTR_E_MR_PARNIL EMAKEHR(0x1223) // MemberRef parent Nil in a PE file. #define VLDTR_E_MR_BADCALLINGCONV EMAKEHR(0x1224) // MemberRef has invalid calling convention. #define VLDTR_E_MR_NOTVARARG EMAKEHR(0x1225) // MemberRef has Method parent but calling convention is not VARARG. #define VLDTR_E_MR_NAMEDIFF EMAKEHR(0x1226) // MemberRef name different from parent MethodDef. #define VLDTR_E_MR_SIGDIFF EMAKEHR(0x1227) // MemberRef signature different from parent MethodDef. #define VLDTR_E_MR_DUP EMAKEHR(0x1228) // MemberRef has a dup. #define VLDTR_E_CL_TDAUTO EMAKEHR(0x1229) // ClassLayout parent TypeDef is marked AutoLayout. #define VLDTR_E_CL_BADPCKSZ EMAKEHR(0x122A) // ClassLayout has bad PackingSize. #define VLDTR_E_CL_DUP EMAKEHR(0x122B) // ClassLayout has dup. #define VLDTR_E_FL_BADOFFSET EMAKEHR(0x122C) // FieldLayout2 has bad offset. #define VLDTR_E_FL_TDNIL EMAKEHR(0x122D) // FieldLayout2 has field with nil parent. #define VLDTR_E_FL_NOCL EMAKEHR(0x122E) // FieldLayout2 has no ClassLayout record. #define VLDTR_E_FL_TDNOTEXPLCT EMAKEHR(0x122F) // FieldLayout2 parent TypeDef is not marked with ExplicitLayout. #define VLDTR_E_FL_FLDSTATIC EMAKEHR(0x1230) // FieldLayout2 has field marked Static. #define VLDTR_E_FL_DUP EMAKEHR(0x1231) // FieldLayout2 has a dup. #define VLDTR_E_MODREF_NAMENULL EMAKEHR(0x1232) // ModuleRef name is NULL. #define VLDTR_E_MODREF_DUP EMAKEHR(0x1233) // ModuleRef has a dup. #define VLDTR_E_TR_BADSCOPE EMAKEHR(0x1234) // TypeRef has a bad resolution scope. #define VLDTR_E_TD_NESTEDNOENCL EMAKEHR(0x1235) // TypeDef marked nested has no encloser. #define VLDTR_E_TD_EXTTRRES EMAKEHR(0x1236) // TypeDef extends a TypeRef which resolves to a TypeDef in the same module. #define VLDTR_E_SIGNULL EMAKEHR(0x1237) // Signature specified is zero-sized. #define VLDTR_E_SIGNODATA EMAKEHR(0x1238) // Signature does not have enough data at specified byte. #define VLDTR_E_MD_BADCALLINGCONV EMAKEHR(0x1239) // Method signature has invalid calling convention. #define VLDTR_E_MD_THISSTATIC EMAKEHR(0x123A) // Method is marked static but has HASTHIS/EXPLICITTHIS set on the calling convention. #define VLDTR_E_MD_NOTTHISNOTSTATIC EMAKEHR(0x123B) // Method is not marked static but is not HASTHIS/EXPLICITTHIS. #define VLDTR_E_MD_NOARGCNT EMAKEHR(0x123C) // Method signature is missing the argument count. #define VLDTR_E_SIG_MISSELTYPE EMAKEHR(0x123D) // Signature missing element type. #define VLDTR_E_SIG_MISSTKN EMAKEHR(0x123E) // Signature missing token. #define VLDTR_E_SIG_TKNBAD EMAKEHR(0x123F) // Signature has bad token. #define VLDTR_E_SIG_MISSFPTR EMAKEHR(0x1240) // Signature is missing function pointer. #define VLDTR_E_SIG_MISSFPTRARGCNT EMAKEHR(0x1241) // Signature has function pointer missing argument count. #define VLDTR_E_SIG_MISSRANK EMAKEHR(0x1242) // Signature is missing rank specification. #define VLDTR_E_SIG_MISSNSIZE EMAKEHR(0x1243) // Signature is missing count of sized dimensions. #define VLDTR_E_SIG_MISSSIZE EMAKEHR(0x1244) // Signature is missing size of dimension. #define VLDTR_E_SIG_MISSNLBND EMAKEHR(0x1245) // Signature is missing count of lower bounds. #define VLDTR_E_SIG_MISSLBND EMAKEHR(0x1246) // Signature is missing a lower bound. #define VLDTR_E_SIG_BADELTYPE EMAKEHR(0x1247) // Signature has bad element type. #define VLDTR_E_SIG_MISSVASIZE EMAKEHR(0x1248) // Signature has value array missing size. #define VLDTR_E_FD_BADCALLINGCONV EMAKEHR(0x1249) // Field signature has invalid calling convention. #define VLDTR_E_MD_NAMENULL EMAKEHR(0x124A) // Method name is NULL. #define VLDTR_E_MD_PARNIL EMAKEHR(0x124B) // Method has parent NIL. #define VLDTR_E_MD_DUP EMAKEHR(0x124C) // Method has dup. #define VLDTR_E_FD_NAMENULL EMAKEHR(0x124D) // Field name is NULL. #define VLDTR_E_FD_PARNIL EMAKEHR(0x124E) // Field parent is Nil. #define VLDTR_E_FD_DUP EMAKEHR(0x124F) // Field has dup. #define VLDTR_E_AS_MULTI EMAKEHR(0x1250) // Multiple Assembly records found. #define VLDTR_E_AS_NAMENULL EMAKEHR(0x1251) // Assembly name is NULL. #define VLDTR_E_SIG_TOKTYPEMISMATCH EMAKEHR(0x1252) // E_T_VALUETYPE or E_T_CLASS. #define VLDTR_E_CL_TDINTF EMAKEHR(0x1253) // Class layout on an Interface. #define VLDTR_E_ASOS_OSPLTFRMIDINVAL EMAKEHR(0x1254) // AssemblyOS platform ID invalid. #define VLDTR_E_AR_NAMENULL EMAKEHR(0x1255) // AssemblyRef name is NULL. #define VLDTR_E_TD_ENCLNOTNESTED EMAKEHR(0x1256) // TypeDef not nested has encloser. #define VLDTR_E_AROS_OSPLTFRMIDINVAL EMAKEHR(0x1257) // AssemblyRefOS has invalid platform ID. #define VLDTR_E_FILE_NAMENULL EMAKEHR(0x1258) // File name is NULL. #define VLDTR_E_CT_NAMENULL EMAKEHR(0x1259) // ComType name is NULL. #define VLDTR_E_TD_EXTENDSCHILD EMAKEHR(0x125A) // TypeDef extends its own child. #define VLDTR_E_MAR_NAMENULL EMAKEHR(0x125B) // ManifestResource name is NULL. #define VLDTR_E_FILE_DUP EMAKEHR(0x125C) // File has dup. #define VLDTR_E_FILE_NAMEFULLQLFD EMAKEHR(0x125D) // File name is fully qualified. #define VLDTR_E_CT_DUP EMAKEHR(0x125E) // ComType has dup. #define VLDTR_E_MAR_DUP EMAKEHR(0x125F) // ManifestResource has dup. #define VLDTR_E_MAR_NOTPUBPRIV EMAKEHR(0x1260) // ManifestResource is neither Public not Private. #define VLDTR_E_TD_ENUMNOVALUE EMAKEHR(0x1261) // Enum has no "value__" field. #define VLDTR_E_TD_ENUMVALSTATIC EMAKEHR(0x1262) // Enum's "value__" field is static. #define VLDTR_E_TD_ENUMVALNOTSN EMAKEHR(0x1263) // Enum's "value__" field is not SpecialName. #define VLDTR_E_TD_ENUMFLDNOTST EMAKEHR(0x1264) // Enum's field is not static. #define VLDTR_E_TD_ENUMFLDNOTLIT EMAKEHR(0x1265) // Enum's field is not literal. #define VLDTR_E_TD_ENUMNOLITFLDS EMAKEHR(0x1266) // Enum has no literal fields. #define VLDTR_E_TD_ENUMFLDSIGMISMATCH EMAKEHR(0x1267) // Enum's field sig does not match value__ sig. #define VLDTR_E_TD_ENUMVALNOT1ST EMAKEHR(0x1268) // Enum's "value__" field is not first. #define VLDTR_E_FD_NOTVALUERTSN EMAKEHR(0x1269) // Field is RTSpecialName but name is not "value__". #define VLDTR_E_FD_VALUEPARNOTENUM EMAKEHR(0x126A) // Field "value__" in not Enum class. #define VLDTR_E_FD_INSTINIFACE EMAKEHR(0x126B) // Instance field in interface. #define VLDTR_E_FD_NOTPUBINIFACE EMAKEHR(0x126C) // Non-public field in interface. #define VLDTR_E_FMD_GLOBALNOTPUBPRIVSC EMAKEHR(0x126D) // Global field/method neither Public nor PrivateScope. #define VLDTR_E_FMD_GLOBALNOTSTATIC EMAKEHR(0x126E) // Global field/method not static. #define VLDTR_E_FD_GLOBALNORVA EMAKEHR(0x126F) // Global field has no RVA. #define VLDTR_E_MD_CTORZERORVA EMAKEHR(0x1270) // .ctor,.cctor has zero RVA. #define VLDTR_E_FD_MARKEDNOMARSHAL EMAKEHR(0x1271) // Field is marked marshaled but has no marshaling rec. #define VLDTR_E_FD_MARSHALNOTMARKED EMAKEHR(0x1272) // Field has marshaling rec but is not marked marshaled. #define VLDTR_E_FD_MARKEDNODEFLT EMAKEHR(0x1273) // Field is marked HasDefault but has no const value. #define VLDTR_E_FD_DEFLTNOTMARKED EMAKEHR(0x1274) // Field has const value rec but is not marked HasDefault. #define VLDTR_E_FMD_MARKEDNOSECUR EMAKEHR(0x1275) // Field/method is marked HasSecurity but has no security rec. #define VLDTR_E_FMD_SECURNOTMARKED EMAKEHR(0x1276) // Field/method has security rec but is not marked HasSecurity. #define VLDTR_E_FMD_PINVOKENOTSTATIC EMAKEHR(0x1277) // Field/method is PInvoke but is not marked Static. #define VLDTR_E_FMD_MARKEDNOPINVOKE EMAKEHR(0x1278) // Field/method is marked PInvoke but has no ImplMap. #define VLDTR_E_FMD_PINVOKENOTMARKED EMAKEHR(0x1279) // Field/method has ImplMap but is not marked PInvoke. #define VLDTR_E_FMD_BADIMPLMAP EMAKEHR(0x127A) // Field/method has invalid ImplMap #define VLDTR_E_IMAP_BADMODREF EMAKEHR(0x127B) // ImplMap has invalid ModuleRef #define VLDTR_E_IMAP_BADMEMBER EMAKEHR(0x127C) // ImplMap has invalid MemberForwarded #define VLDTR_E_IMAP_BADIMPORTNAME EMAKEHR(0x127D) // ImplMap has invalid ImportName #define VLDTR_E_IMAP_BADCALLCONV EMAKEHR(0x127E) // ImplMap has invalid call conv #define VLDTR_E_FMD_BADACCESSFLAG EMAKEHR(0x127F) // Field/method has invalid access flag #define VLDTR_E_FD_INITONLYANDLITERAL EMAKEHR(0x1280) // Field is InitOnly and Literal #define VLDTR_E_FD_LITERALNOTSTATIC EMAKEHR(0x1281) // Field is Literal but not Static #define VLDTR_E_FMD_RTSNNOTSN EMAKEHR(0x1282) // Field/method is RTSpec.Name but not Spec.Name #define VLDTR_E_MD_ABSTPARNOTABST EMAKEHR(0x1283) // Method is abstract, parent is not #define VLDTR_E_MD_NOTSTATABSTININTF EMAKEHR(0x1284) // Method not static or abstract in interface #define VLDTR_E_MD_NOTPUBININTF EMAKEHR(0x1285) // Method not public in interface #define VLDTR_E_MD_CTORININTF EMAKEHR(0x1286) // ctor in interface #define VLDTR_E_MD_GLOBALCTORCCTOR EMAKEHR(0x1287) // global ctor or cctor #define VLDTR_E_MD_CTORSTATIC EMAKEHR(0x1288) // static ctor #define VLDTR_E_MD_CTORNOTSNRTSN EMAKEHR(0x1289) // ctor,cctor not marked SpecialName,RTSpecialName #define VLDTR_E_MD_CTORVIRT EMAKEHR(0x128A) // virtual ctor,cctor #define VLDTR_E_MD_CTORABST EMAKEHR(0x128B) // abstract ctor,cctor #define VLDTR_E_MD_CCTORNOTSTATIC EMAKEHR(0x128C) // instance cctor #define VLDTR_E_MD_ZERORVA EMAKEHR(0x128D) // RVA=0, method not abstract or pinvoke or runtime, or reverse #define VLDTR_E_MD_FINNOTVIRT EMAKEHR(0x128E) // Method is final and not virtual #define VLDTR_E_MD_STATANDFINORVIRT EMAKEHR(0x128F) // Method is static and final or virtual #define VLDTR_E_MD_ABSTANDFINAL EMAKEHR(0x1290) // Method is abstract and final #define VLDTR_E_MD_ABSTANDIMPL EMAKEHR(0x1291) // Method is abstract and implemented #define VLDTR_E_MD_ABSTANDPINVOKE EMAKEHR(0x1292) // Method is abstract and pinvoke #define VLDTR_E_MD_ABSTNOTVIRT EMAKEHR(0x1293) // Method is abstract and not virtual #define VLDTR_E_MD_NOTABSTNOTIMPL EMAKEHR(0x1294) // Method is not abstract and not implemented #define VLDTR_E_MD_NOTABSTBADFLAGSRVA EMAKEHR(0x1295) // Method is not abstract and not (RVA!=0 or pinvoke or runtime) #define VLDTR_E_MD_PRIVSCOPENORVA EMAKEHR(0x1296) // Method is PrivateScope and has RVA==0 #define VLDTR_E_MD_GLOBALABSTORVIRT EMAKEHR(0x1297) // Global method is abstract or virtual #define VLDTR_E_SIG_LONGFORM EMAKEHR(0x1298) // Signature uses long form #define VLDTR_E_MD_MULTIPLESEMANTICS EMAKEHR(0x1299) // Method has multiple semantics (warning) #define VLDTR_E_MD_INVALIDSEMANTICS EMAKEHR(0x129A) // Method has invalid semantics (not event or prop) #define VLDTR_E_MD_SEMANTICSNOTEXIST EMAKEHR(0x129B) // Method has semantics assoc that does not exist #define VLDTR_E_MI_DECLNOTVIRT EMAKEHR(0x129C) // MethodImpl's Decl is not virtual #define VLDTR_E_FMD_GLOBALITEM EMAKEHR(0x129D) // Global field/method (warning,CLS) #define VLDTR_E_MD_MULTSEMANTICFLAGS EMAKEHR(0x129E) // Method has multiple semantic flags set #define VLDTR_E_MD_NOSEMANTICFLAGS EMAKEHR(0x129F) // Method has no semantic flags set #define VLDTR_E_FD_FLDINIFACE EMAKEHR(0x12A0) // Field in Interface (warning, CLS) #define VLDTR_E_AS_HASHALGID EMAKEHR(0x12A1) // Unrecognized Hash Alg ID (warning) #define VLDTR_E_AS_PROCID EMAKEHR(0x12A2) // Unrecognized Processor ID in Assembly(warning) #define VLDTR_E_AR_PROCID EMAKEHR(0x12A3) // Unrecognized Processor ID in AssemblyRef(warning) #define VLDTR_E_CN_PARENTRANGE EMAKEHR(0x12A4) // Constant: parent token out of range #define VLDTR_E_AS_BADFLAGS EMAKEHR(0x12A5) // Invalid flags in Assembly #define VLDTR_E_TR_HASTYPEDEF EMAKEHR(0x12A6) // There is TypeDef with same name as TypeRef (warning) #define VLDTR_E_IFACE_BADIMPL EMAKEHR(0x12A7) // In InterfaceImpl, the implementing token is not TypeDef #define VLDTR_E_IFACE_BADIFACE EMAKEHR(0x12A8) // In InterfaceImpl, the implemented token is not TypeDef or TypeRef #define VLDTR_E_TD_SECURNOTMARKED EMAKEHR(0x12A9) // TypeDef has security rec but not marked HasSecurity #define VLDTR_E_TD_MARKEDNOSECUR EMAKEHR(0x12AA) // TypeDef marked HasSecurity but has no security rec #define VLDTR_E_MD_CCTORHASARGS EMAKEHR(0x12AB) // .cctor has arguments #define VLDTR_E_CT_BADIMPL EMAKEHR(0x12AC) // COMType has invalid Implementation #define VLDTR_E_MI_ALIENBODY EMAKEHR(0x12AD) // MethodImpl has body from other class #define VLDTR_E_MD_CCTORCALLCONV EMAKEHR(0x12AE) // .cctor has invalid calling convention #define VLDTR_E_MI_BADCLASS EMAKEHR(0x12AF) // MethodImpl has invalid Class token #define VLDTR_E_MI_CLASSISINTF EMAKEHR(0x12B0) // MethodImpl declared in Interface #define VLDTR_E_MI_BADDECL EMAKEHR(0x12B1) // MethodImpl has invalid MethodDeclaration token #define VLDTR_E_MI_BADBODY EMAKEHR(0x12B2) // MethodImpl has invalid MethodBody token #define VLDTR_E_MI_DUP EMAKEHR(0x12B3) // MethodImpl has duplicate #define VLDTR_E_FD_BADPARENT EMAKEHR(0x12B4) // Bad field parent #define VLDTR_E_MD_PARAMOUTOFSEQ EMAKEHR(0x12B5) // Param out of sequence (warning) #define VLDTR_E_MD_PARASEQTOOBIG EMAKEHR(0x12B6) // Param's sequence num exceeds num of args #define VLDTR_E_MD_PARMMARKEDNOMARSHAL EMAKEHR(0x12B7) // Param marked HasMarshal, has no marshaling info #define VLDTR_E_MD_PARMMARSHALNOTMARKED EMAKEHR(0x12B8) // Param has marshaling info, not marked HasMarshal #define VLDTR_E_MD_PARMMARKEDNODEFLT EMAKEHR(0x12BA) // Param marked HasDefault, has no const value #define VLDTR_E_MD_PARMDEFLTNOTMARKED EMAKEHR(0x12BB) // Param has const value, not marked HasDefault #define VLDTR_E_PR_BADSCOPE EMAKEHR(0x12BC) // Prop has invalid scope #define VLDTR_E_PR_NONAME EMAKEHR(0x12BD) // Prop has no name #define VLDTR_E_PR_NOSIG EMAKEHR(0x12BE) // Prop has no signature #define VLDTR_E_PR_DUP EMAKEHR(0x12BF) // Prop has a duplicate #define VLDTR_E_PR_BADCALLINGCONV EMAKEHR(0x12C0) // Prop has bad calling convention #define VLDTR_E_PR_MARKEDNODEFLT EMAKEHR(0x12C1) // Prop marked HasDefault, has no const value #define VLDTR_E_PR_DEFLTNOTMARKED EMAKEHR(0x12C2) // Prop has const value, not marked HasDefault #define VLDTR_E_PR_BADSEMANTICS EMAKEHR(0x12C3) // Prop has method not (Setter,Getter, or Other) #define VLDTR_E_PR_BADMETHOD EMAKEHR(0x12C4) // Prop has method with invalid token #define VLDTR_E_PR_ALIENMETHOD EMAKEHR(0x12C5) // Prop has method from another class #define VLDTR_E_CN_BLOBNOTNULL EMAKEHR(0x12C6) // Const has non-null blob when it should not #define VLDTR_E_CN_BLOBNULL EMAKEHR(0x12C7) // Const has null value blob #define VLDTR_E_EV_BADSCOPE EMAKEHR(0x12C8) // Event has invalid scope #define VLDTR_E_EV_NONAME EMAKEHR(0x12CA) // Event has no name #define VLDTR_E_EV_DUP EMAKEHR(0x12CB) // Event has a duplicate #define VLDTR_E_EV_BADEVTYPE EMAKEHR(0x12CC) // Event has invalid EventType #define VLDTR_E_EV_EVTYPENOTCLASS EMAKEHR(0x12CD) // Event's EventType is not a class #define VLDTR_E_EV_BADSEMANTICS EMAKEHR(0x12CE) // Event has method not (AddOn,RemoveOn,Fire,Other) #define VLDTR_E_EV_BADMETHOD EMAKEHR(0x12CF) // Event has method with invalid token #define VLDTR_E_EV_ALIENMETHOD EMAKEHR(0x12D0) // Event has method from another class #define VLDTR_E_EV_NOADDON EMAKEHR(0x12D1) // Event has no AddOn method #define VLDTR_E_EV_NOREMOVEON EMAKEHR(0x12D2) // Event has no RemoveOn method #define VLDTR_E_CT_DUPTDNAME EMAKEHR(0x12D3) // ExportedType has same name as TypeDef #define VLDTR_E_MAR_BADOFFSET EMAKEHR(0x12D4) // MRes refers to non-PE file with offset !=0 #define VLDTR_E_DS_BADOWNER EMAKEHR(0x12D5) // Decl.security has invalid owner token #define VLDTR_E_DS_BADFLAGS EMAKEHR(0x12D6) // Decl.security has invalid action flags #define VLDTR_E_DS_NOBLOB EMAKEHR(0x12D7) // Decl.security has no permission blob #define VLDTR_E_MAR_BADIMPL EMAKEHR(0x12D8) // Manifest resource has invalid Implementation #define VLDTR_E_MR_VARARGCALLINGCONV EMAKEHR(0x12DA) // MemberRef has VARARG calling conv. (CLS warning) #define VLDTR_E_MD_CTORNOTVOID EMAKEHR(0x12DB) // .ctor,.cctor returning not void #define VLDTR_E_EV_FIRENOTVOID EMAKEHR(0x12DC) // Fire method returning not void #define VLDTR_E_AS_BADLOCALE EMAKEHR(0x12DD) // Invalid locale #define VLDTR_E_CN_PARENTTYPE EMAKEHR(0x12DE) // Constant has parent of invalid type #define VLDTR_E_SIG_SENTINMETHODDEF EMAKEHR(0x12DF) // E_T_SENTINEL in MethodDef signature #define VLDTR_E_SIG_SENTMUSTVARARG EMAKEHR(0x12E0) // E_T_SENTINEL <=> VARARG #define VLDTR_E_SIG_MULTSENTINELS EMAKEHR(0x12E1) // Multiple E_T_SENTINELs #define VLDTR_E_SIG_LASTSENTINEL EMAKEHR(0x12E2) // E_T_SENTINEL not followed by type #define VLDTR_E_SIG_MISSARG EMAKEHR(0x12E3) // Signature missing argument #define VLDTR_E_SIG_BYREFINFIELD EMAKEHR(0x12E4) // Field of ByRef type #define VLDTR_E_MD_SYNCMETHODINVTYPE EMAKEHR(0x12E5) // Synchronized method in value class #define VLDTR_E_TD_NAMETOOLONG EMAKEHR(0x12E6) // TypeDef name too long #define VLDTR_E_AS_PROCDUP EMAKEHR(0x12E7) // Duplicate Assembly Processor #define VLDTR_E_ASOS_DUP EMAKEHR(0x12E8) // Duplicate Assembly OS (ID+ver.major+ver.minor) #define VLDTR_E_MAR_BADFLAGS EMAKEHR(0x12E9) // Manifest Resource has bad flags #define VLDTR_E_CT_NOTYPEDEFID EMAKEHR(0x12EA) // COMType has nil TypeDefId #define VLDTR_E_FILE_BADFLAGS EMAKEHR(0x12EB) // File has bad flags #define VLDTR_E_FILE_NULLHASH EMAKEHR(0x12EC) // File has no hash blob #define VLDTR_E_MOD_NONAME EMAKEHR(0x12ED) // Module has no name #define VLDTR_E_MOD_NAMEFULLQLFD EMAKEHR(0x12EE) // Module has fully-qualified name #define VLDTR_E_TD_RTSPCLNOTSPCL EMAKEHR(0x12EF) // TypeDef is tdRTSpecialName but not tdSpecialName #define VLDTR_E_TD_EXTENDSIFACE EMAKEHR(0x12F0) // TypeDef extends interface #define VLDTR_E_MD_CTORPINVOKE EMAKEHR(0x12F1) // .ctor,.cctor is PInvokeImpl #define VLDTR_E_TD_SYSENUMNOTCLASS EMAKEHR(0x12F2) // System.Enum is not a class #define VLDTR_E_TD_SYSENUMNOTEXTVTYPE EMAKEHR(0x12F3) // System.Enum extends not System.ValueType #define VLDTR_E_MI_SIGMISMATCH EMAKEHR(0x12F4) // MethodImpl's Decl and Body signatures mismatch #define VLDTR_E_TD_ENUMHASMETHODS EMAKEHR(0x12F5) // TypeDef extends System.Enum but has methods #define VLDTR_E_TD_ENUMIMPLIFACE EMAKEHR(0x12F6) // TypeDef extends System.Enum but impls interface(s) #define VLDTR_E_TD_ENUMHASPROP EMAKEHR(0x12F7) // TypeDef extends System.Enum but has prop(s) #define VLDTR_E_TD_ENUMHASEVENT EMAKEHR(0x12F8) // TypeDef extends System.Enum but has event(s) #define VLDTR_E_TD_BADMETHODLST EMAKEHR(0x12F9) // TypeDef has MethodList > Nmethods+1 #define VLDTR_E_TD_BADFIELDLST EMAKEHR(0x12FA) // TypeDef has FieldList > Nfields+1 #define VLDTR_E_CN_BADTYPE EMAKEHR(0x12FB) // Constant has wrong type #define VLDTR_E_TD_ENUMNOINSTFLD EMAKEHR(0x12FC) // Enum has no instance fields #define VLDTR_E_TD_ENUMMULINSTFLD EMAKEHR(0x12FD) // Enum has multiple instance fields #define VLDTR_E_INTERRUPTED EMAKEHR(0x12FE) // Validator has been interrupted by the VEHandler. #define VLDTR_E_NOTINIT EMAKEHR(0x12FF) // Validator failed to initialize correctly. #define VLDTR_E_IFACE_NOTIFACE EMAKEHR(0x1B00) // Interface in InterfaceImpl is not marked tdInterface #define VLDTR_E_FD_RVAHASNORVA EMAKEHR(0x1B01) // Field marked fdHasFieldRVA but has no RVA rec #define VLDTR_E_FD_RVAHASZERORVA EMAKEHR(0x1B02) // Field marked fdHasFieldRVA has RVA =0 #define VLDTR_E_MD_RVAANDIMPLMAP EMAKEHR(0x1B03) // Method has both RVA !=0 and ImplMap #define VLDTR_E_TD_EXTRAFLAGS EMAKEHR(0x1B04) // TypeDef has extraneous bits in flags #define VLDTR_E_TD_EXTENDSITSELF EMAKEHR(0x1B05) // TypeDef extends itself #define VLDTR_E_TD_SYSVTNOTEXTOBJ EMAKEHR(0x1B06) // System.ValueType does not extend System.Object #define VLDTR_E_TD_EXTTYPESPEC EMAKEHR(0x1B07) // Class extends TypeSpec (warning) #define VLDTR_E_TD_VTNOSIZE EMAKEHR(0x1B09) // Value Class has zero size #define VLDTR_E_TD_IFACESEALED EMAKEHR(0x1B0A) // Interface is sealed #define VLDTR_E_NC_BADNESTED EMAKEHR(0x1B0B) // Bad "nested" token in NestedClass #define VLDTR_E_NC_BADENCLOSER EMAKEHR(0x1B0C) // Bad "enclosing" token in NestedClass #define VLDTR_E_NC_DUP EMAKEHR(0x1B0D) // Duplicate NestedClass record #define VLDTR_E_NC_DUPENCLOSER EMAKEHR(0x1B0E) // Duplicate NestedClass with different encloser #define VLDTR_E_FRVA_ZERORVA EMAKEHR(0x1B0F) // RVA=0 in FieldRVA record #define VLDTR_E_FRVA_BADFIELD EMAKEHR(0x1B10) // Invalid field token in FieldRVA record #define VLDTR_E_FRVA_DUPRVA EMAKEHR(0x1B11) // Duplicate RVA in FieldRVA record #define VLDTR_E_FRVA_DUPFIELD EMAKEHR(0x1B12) // Duplicate field in FieldRVA record #define VLDTR_E_EP_BADTOKEN EMAKEHR(0x1B13) // Bad token as entry point in CLR header #define VLDTR_E_EP_INSTANCE EMAKEHR(0x1B14) // Entry point in CLR header is a token of instance method #define VLDTR_E_TD_ENUMFLDBADTYPE EMAKEHR(0x1B15) // Enum has non-integral underlying type #define VLDTR_E_MD_BADRVA EMAKEHR(0x1B16) // Method has bogus RVA #define VLDTR_E_FD_LITERALNODEFAULT EMAKEHR(0x1B17) // Literal field has no const value #define VLDTR_E_IFACE_METHNOTIMPL EMAKEHR(0x1B18) // Class implementing an interface doesn't impl.one of methods #define VLDTR_E_CA_BADPARENT EMAKEHR(0x1B19) // CA has invalid owner #define VLDTR_E_CA_BADTYPE EMAKEHR(0x1B1A) // CA has invalid type #define VLDTR_E_CA_NOTCTOR EMAKEHR(0x1B1B) // CA type is not .ctor #define VLDTR_E_CA_BADSIG EMAKEHR(0x1B1C) // CA type has bad signature #define VLDTR_E_CA_NOSIG EMAKEHR(0x1B1D) // CA type has no signature #define VLDTR_E_CA_BADPROLOG EMAKEHR(0x1B1E) // CA blob has bad prolog (not 0x01 0x00) #define VLDTR_E_MD_BADLOCALSIGTOK EMAKEHR(0x1B1F) // Method has invalid LocalSig token #define VLDTR_E_MD_BADHEADER EMAKEHR(0x1B20) // Method has invalid header #define VLDTR_E_EP_TOOMANYARGS EMAKEHR(0x1B21) // Entry point has more than one arg #define VLDTR_E_EP_BADRET EMAKEHR(0x1B22) // Entry point has bad return type #define VLDTR_E_EP_BADARG EMAKEHR(0x1B23) // Entry point has bad argument #define VLDTR_E_SIG_BADVOID EMAKEHR(0x1B24) // Illegal "void" in signature //**** Common Language Runtime Debugging Services errors #define CORDBG_E_UNRECOVERABLE_ERROR EMAKEHR(0x1300) // Unrecoverable API error. #define CORDBG_E_PROCESS_TERMINATED EMAKEHR(0x1301) // Process was terminated. #define CORDBG_E_PROCESS_NOT_SYNCHRONIZED EMAKEHR(0x1302) // Process not synchronized. #define CORDBG_E_CLASS_NOT_LOADED EMAKEHR(0x1303) // A class is not loaded. #define CORDBG_E_IL_VAR_NOT_AVAILABLE EMAKEHR(0x1304) // An IL variable is not available at the // current native IP. #define CORDBG_E_BAD_REFERENCE_VALUE EMAKEHR(0x1305) // A reference value was found to be bad // during dereferencing. #define CORDBG_E_FIELD_NOT_AVAILABLE EMAKEHR(0x1306) // A field in a class is not available, // because the runtime optimized it away. #define CORDBG_E_NON_NATIVE_FRAME EMAKEHR(0x1307) // "Native frame only" operation on // non-native frame #define CORDBG_E_NONCONTINUABLE_EXCEPTION EMAKEHR(0x1308) // Continue on non-continuable exception #define CORDBG_E_CODE_NOT_AVAILABLE EMAKEHR(0x1309) // The code is currently unavailable #define CORDBG_E_FUNCTION_NOT_IL EMAKEHR(0x130A) // Attempt to get a ICorDebugFunction for // a function that is not IL. #define CORDBG_S_BAD_START_SEQUENCE_POINT SMAKEHR(0x130B) // Attempt to SetIP not at a sequence point #define CORDBG_S_BAD_END_SEQUENCE_POINT SMAKEHR(0x130C) // Attempt to SetIP when not going to a // sequence point. If both this and // CORDBG_E_BAD_START_SEQUENCE_POINT are // true, only CORDBG_E_BAD_START_SEQUENCE_POINT // will be reported. #define CORDBG_S_INSUFFICIENT_INFO_FOR_SET_IP SMAKEHR(0x130D) // SetIP is possible, but the debugger doesn't // have enough info to fix variable locations, // GC refs, or anything else. Use at your own // risk. #define CORDBG_E_CANT_SET_IP_INTO_FINALLY EMAKEHR(0x130E) // SetIP isn't possible, because SetIP would // move EIP from outside of an exception // handling finally clause to a point inside // of one. #define CORDBG_E_CANT_SET_IP_OUT_OF_FINALLY EMAKEHR(0x130F) // SetIP isn’t possible because it would move // EIP from within an exception handling finally // clause to a point outside of one. #define CORDBG_E_CANT_SET_IP_INTO_CATCH EMAKEHR(0x1310) // SetIP isn't possible, because SetIP would // move EIP from outside of an exception // handling catch clause to a point inside of // one. #define CORDBG_E_SET_IP_NOT_ALLOWED_ON_NONLEAF_FRAME EMAKEHR(0x1311) // Setip cannot be done on any frame except // the leaf frame. #define CORDBG_E_SET_IP_IMPOSSIBLE EMAKEHR(0x1312) // SetIP isn't allowed. For example, there is // insufficient memory to perform SetIP. #define CORDBG_E_FUNC_EVAL_BAD_START_POINT EMAKEHR(0x1313) // Func eval can't work if we're, for example, // not stopped at a GC safe point. #define CORDBG_E_INVALID_OBJECT EMAKEHR(0x1314) // This object value is no longer valid. #define CORDBG_E_FUNC_EVAL_NOT_COMPLETE EMAKEHR(0x1315) // If you call CordbEval::GetResult before the // func eval has finished, you'll get this // result. #define CORDBG_S_FUNC_EVAL_HAS_NO_RESULT SMAKEHR(0x1316) // Some Func evals will lack a return value, // such as those whose return type is void. #define CORDBG_S_VALUE_POINTS_TO_VOID SMAKEHR(0x1317) // The Debugging API doesn't support // dereferencing pointers of type void. #define CORDBG_E_INPROC_NOT_IMPL EMAKEHR(0x1318) // The inproc version of the debugging API // doesn't implement this function, #define CORDBG_S_FUNC_EVAL_ABORTED SMAKEHR(0x1319) // The func eval completed, but was aborted. #define CORDBG_E_STATIC_VAR_NOT_AVAILABLE EMAKEHR(0x131A) // A static variable isn't available because // it hasn't been initialized yet. #define CORDBG_E_OBJECT_IS_NOT_COPYABLE_VALUE_CLASS EMAKEHR(0x131B) // Can't copy a VC with object refs in it. #define CORDBG_E_CANT_SETIP_INTO_OR_OUT_OF_FILTER EMAKEHR(0x131C) // SetIP can't leave or enter a filter #define CORDBG_E_CANT_CHANGE_JIT_SETTING_FOR_ZAP_MODULE EMAKEHR(0x131D) // You can't change JIT settings for ZAP // modules. #define CORDBG_E_BAD_THREAD_STATE EMAKEHR(0x132d) // The state of the thread is invalid. #define CORDBG_E_DEBUGGER_ALREADY_ATTACHED EMAKEHR(0x132e) // This process has already been attached to #define CORDBG_E_SUPERFLOUS_CONTINUE EMAKEHR(0x132f) // Returned from a call to Continue that was // Not matched with a stopping event. #define CORDBG_E_SET_VALUE_NOT_ALLOWED_ON_NONLEAF_FRAME EMAKEHR(0x1330) // Can't perfrom SetValue on non-leaf frames. #define CORDBG_E_ENC_EH_MAX_NESTING_LEVEL_CANT_INCREASE EMAKEHR(0x1331) // When doing EnC, some JITters don't let you // increase the maximum level to which // exception handling can be nested. #define CORDBG_E_ENC_MODULE_NOT_ENC_ENABLED EMAKEHR(0x1332) // Tried to do EnC on a module that wasn't // started in EnC mode. #define CORDBG_E_SET_IP_NOT_ALLOWED_ON_EXCEPTION EMAKEHR(0x1333) // Setip cannot be done on any exception #define CORDBG_E_VARIABLE_IS_ACTUALLY_LITERAL EMAKEHR(0x1334) // The 'variable' doesn't exist because it is a // literal optimized away by the compiler - ask // Metadata for it's default value, instead. #define CORDBG_E_PROCESS_DETACHED EMAKEHR(0x1335) // Process has been detached from #define CORDBG_E_ENC_METHOD_SIG_CHANGED EMAKEHR(0x1336) // Not allowed to change the signature of an // existing method - compiler should make new method // instead. #define CORDBG_E_ENC_METHOD_NO_LOCAL_SIG EMAKEHR(0x1337) // Can't get the local signature for the method // we're trying to EnC. #define CORDBG_E_ENC_CANT_ADD_FIELD_TO_VALUECLASS EMAKEHR(0x1338) // Adding a field to a value class is prohibitted, // since we can't guarantee the new field is contiguous to // VC's on the stack, embedded in other objects, etc. #define CORDBG_E_ENC_CANT_CHANGE_FIELD EMAKEHR(0x1339) // Once you've got a field, you're not allowed to change // it, since that would change the size of the type it belongs to. #define CORDBG_E_ENC_RE_ADD_CLASS EMAKEHR(0x133A) // AddAvailableClassHaveLock will return this if we're trying to // to add a class that's been previously added. If we've got a // "delta-PE" that includes everything from the original PE, then // we can ignore this return value. It's the same as S_OK in that case. #define CORDBG_E_FIELD_NOT_STATIC EMAKEHR(0x133B) // Returned if someone tries to call GetStaticFieldValue // on a non-static field #define CORDBG_E_FIELD_NOT_INSTANCE EMAKEHR(0x133C) // Returned if someone tries to call GetStaticFieldValue // on a non-instance field #define CORDBG_E_ENC_ZAPPED_WITHOUT_ENC EMAKEHR(0x133D) // If a zap file was created without the EnC flag set, then // we can't do EnC on it, no matter what. #define CORDBG_E_ENC_BAD_METHOD_INFO EMAKEHR(0x133E) // Lacking information about method. #define CORDBG_E_ENC_JIT_CANT_UPDATE EMAKEHR(0x133F) // The JIT is unable to update the method. #define CORDBG_E_ENC_MISSING_CLASS EMAKEHR(0x1340) // An internal structure about the class is missing #define CORDBG_E_ENC_INTERNAL_ERROR EMAKEHR(0x1341) // Generic message for "Something user doesn't control went wrong" message. #define CORDBG_E_ENC_HANGING_FIELD EMAKEHR(0x1342) // The field was added via enc after the class was loaded, and so instead of // the field being contiguous with the other fields, it's 'hanging' off the // instance, so the right side will have to go & get (instance-specific // info based on the particular object. #define CORDBG_E_MODULE_NOT_LOADED EMAKEHR(0x1343) // If the module isn't loaded, including if it's been unloaded. #define CORDBG_E_ENC_CANT_CHANGE_SUPERCLASS EMAKEHR(0x1344) // Not allowed to change which class something inherits from #define CORDBG_E_UNABLE_TO_SET_BREAKPOINT EMAKEHR(0x1345) // Can't set a breakpoint here. #define CORDBG_E_DEBUGGING_NOT_POSSIBLE EMAKEHR(0x1346) // Debugging isn't possible due to an incompatability within the CLR implementation. #define CORDBG_E_KERNEL_DEBUGGER_ENABLED EMAKEHR(0x1347) // Debugging isn't possible because a kernel debugger is enabled on the system. #define CORDBG_E_KERNEL_DEBUGGER_PRESENT EMAKEHR(0x1348) // Debugging isn't possible because a kernel debugger is present on the system. #define CORDBG_E_HELPER_THREAD_DEAD EMAKEHR(0x1349) // The debugger's internal helper thread is dead. #define CORDBG_E_INTERFACE_INHERITANCE_CANT_CHANGE EMAKEHR(0x134A) // Not allowed to change interface inheritance. #define CORDBG_E_INCOMPATIBLE_PROTOCOL EMAKEHR(0x134B) // The debugger's protocol is incompatible with the debuggee. #define CORDBG_E_TOO_MANY_PROCESSES EMAKEHR(0x134C) // The debugger can only handle a finite number of debuggees. #define CORDBG_E_INTEROP_NOT_SUPPORTED EMAKEHR(0x134D) // Interop is not allowed on a win9x platform //**** Common Language Runtime Profiling Services errors #define CORPROF_E_FUNCTION_NOT_COMPILED EMAKEHR(0x1350) // Function not yet compiled. #define CORPROF_E_DATAINCOMPLETE EMAKEHR(0x1351) // The ID is not fully loaded/defined yet. #define CORPROF_E_NOT_REJITABLE_METHODS EMAKEHR(0x1352) // The Module is not configured for updateable methods. #define CORPROF_E_CANNOT_UPDATE_METHOD EMAKEHR(0x1353) // The Method could not be updated for re-jit. #define CORPROF_E_FUNCTION_NOT_IL EMAKEHR(0x1354) // The Method has no associated IL #define CORPROF_E_NOT_MANAGED_THREAD EMAKEHR(0x1355) // The thread has never run managed code before #define CORPROF_E_CALL_ONLY_FROM_INIT EMAKEHR(0x1356) // The function may only be called during profiler init #define CORPROF_E_INPROC_NOT_ENABLED EMAKEHR(0x1357) // Inprocess debugging must be enabled during init // Also returned when BeginInprocDebugging not called // before using the inprocess debugging services #define CORPROF_E_JITMAPS_NOT_ENABLED EMAKEHR(0x1358) // Can't get a JIT map becuase they are not enabled #define CORPROF_E_INPROC_ALREADY_BEGUN EMAKEHR(0x1359) // If a profiler tries to call BeginInprocDebugging more than // once, it will get this error. #define CORPROF_E_INPROC_NOT_AVAILABLE EMAKEHR(0x135A) // States that inprocess debugging not allowed at this point // (for example during GC callbacks or RuntimeSuspention callbacks #define CORPROF_E_NOT_YET_AVAILABLE EMAKEHR(0x135B) // This is a general error used to indicated that the information // requested is not yet available //**** Security errors #define SECURITY_E_XML_TO_ASN_ENCODING EMAKEHR(0x1400) // Failed to convert XML to ASN #define SECURITY_E_INCOMPATIBLE_SHARE EMAKEHR(0x1401) // Loading this assembly would produce a different grant set from other instances #define SECURITY_E_UNVERIFIABLE EMAKEHR(0x1402) // Unverifable code failed policy check #define SECURITY_E_INCOMPATIBLE_EVIDENCE EMAKEHR(0x1403) // Assembly already loaded without additional security evidence. //**** Reserved. #define CLDB_E_INTERNALERROR EMAKEHR(0x1fff) // ****************** // Debugger & Profiler errors // ****************** // ****************** // Security errors // ****************** #define CORSEC_E_DECODE_SET EMAKEHR(0x1410) // Failure decoding permission set #define CORSEC_E_ENCODE_SET EMAKEHR(0x1411) // Failure encoding permission set #define CORSEC_E_UNSUPPORTED_FORMAT EMAKEHR(0x1412) // Unrecognized encoding format #define SN_CRYPTOAPI_CALL_FAILED EMAKEHR(0x1413) // StrongName APIs not supported on system #define CORSEC_E_CRYPTOAPI_CALL_FAILED EMAKEHR(0x1413) // StrongName APIs not supported on system #define SN_NO_SUITABLE_CSP EMAKEHR(0x1414) // StrongName APIs couldn't locate a matching CSP #define CORSEC_E_NO_SUITABLE_CSP EMAKEHR(0x1414) // StrongName APIs couldn't locate a matching CSP #define CORSEC_E_INVALID_ATTR EMAKEHR(0x1415) // Invalid security custom attribute #define CORSEC_E_POLICY_EXCEPTION EMAKEHR(0x1416) // PolicyException thrown #define CORSEC_E_MIN_GRANT_FAIL EMAKEHR(0x1417) // Failed to grant minimum permission requests #define CORSEC_E_NO_EXEC_PERM EMAKEHR(0x1418) // Failed to grant permission to execute #define CORSEC_E_XMLSYNTAX EMAKEHR(0x1419) // XML Syntax error #define CORSEC_E_INVALID_STRONGNAME EMAKEHR(0x141a) // Strong name validation failed #define CORSEC_E_MISSING_STRONGNAME EMAKEHR(0x141b) // Assembly is not strong named #define CORSEC_E_CONTAINER_NOT_FOUND EMAKEHR(0x141c) // Strong name key container not found #define CORSEC_E_INVALID_IMAGE_FORMAT EMAKEHR(0x141d) // Invalid assembly file format //**** crypto errors 1430 -- 143f #define CORSEC_E_CRYPTO EMAKEHR(0x1430) // generic CryptographicException #define CORSEC_E_CRYPTO_UNEX_OPER EMAKEHR(0x1431) // generic CryptographicUnexpectedOperationException //**** security custom attribute errors 143d -- 144f #define CORSECATTR_E_BAD_ACTION_ASM EMAKEHR(0x143d) // SecurityAction type invalid on assembly #define CORSECATTR_E_BAD_ACTION_OTHER EMAKEHR(0x143e) // SecurityAction type invalid on types and methods #define CORSECATTR_E_BAD_PARENT EMAKEHR(0x143f) // Security custom attribute attached to invalid parent #define CORSECATTR_E_TRUNCATED EMAKEHR(0x1440) // Bad custom attribute serialized blob #define CORSECATTR_E_BAD_VERSION EMAKEHR(0x1441) // Bad custom attribute serialized blob version #define CORSECATTR_E_BAD_ACTION EMAKEHR(0x1442) // Invalid security action code #define CORSECATTR_E_NO_SELF_REF EMAKEHR(0x1443) // CA ref to CA def'd in same assembly #define CORSECATTR_E_BAD_NONCAS EMAKEHR(0x1444) // Use of non-CAS perm with invalid action #define CORSECATTR_E_ASSEMBLY_LOAD_FAILED EMAKEHR(0x1445) // Failed to load assembly containing CA (or req'd CA type) #define CORSECATTR_E_ASSEMBLY_LOAD_FAILED_EX EMAKEHR(0x1446) // Failed to load assembly containing CA (or req'd CA type) #define CORSECATTR_E_TYPE_LOAD_FAILED EMAKEHR(0x1447) // Failed to load CA type (or reqd CA type) #define CORSECATTR_E_TYPE_LOAD_FAILED_EX EMAKEHR(0x1448) // Failed to load CA type (or reqd CA type) #define CORSECATTR_E_ABSTRACT EMAKEHR(0x1449) // CA type is abstract #define CORSECATTR_E_UNSUPPORTED_TYPE EMAKEHR(0x144a) // Unsupported type for field/property setter #define CORSECATTR_E_UNSUPPORTED_ENUM_TYPE EMAKEHR(0x144b) // Unsupported base type for enum field/property #define CORSECATTR_E_NO_FIELD EMAKEHR(0x144c) // Couldn't find a CA field #define CORSECATTR_E_NO_PROPERTY EMAKEHR(0x144d) // Couldn't find a CA property #define CORSECATTR_E_EXCEPTION EMAKEHR(0x144e) // Unexpected exception #define CORSECATTR_E_EXCEPTION_HR EMAKEHR(0x144f) // Unexpected exception //**** Isolated Storage Errors 1450 - 14FF #define ISS_E_ISOSTORE EMAKEHR(0x1450L) #define ISS_E_OPEN_STORE_FILE EMAKEHR(0x1460L) #define ISS_E_OPEN_FILE_MAPPING EMAKEHR(0x1461L) #define ISS_E_MAP_VIEW_OF_FILE EMAKEHR(0x1462L) #define ISS_E_GET_FILE_SIZE EMAKEHR(0x1463L) #define ISS_E_CREATE_MUTEX EMAKEHR(0x1464L) #define ISS_E_LOCK_FAILED EMAKEHR(0x1465L) #define ISS_E_FILE_WRITE EMAKEHR(0x1466L) #define ISS_E_SET_FILE_POINTER EMAKEHR(0x1467L) #define ISS_E_CREATE_DIR EMAKEHR(0x1468L) #define ISS_E_STORE_NOT_OPEN EMAKEHR(0x1469L) #define ISS_E_CORRUPTED_STORE_FILE EMAKEHR(0x1480L) #define ISS_E_STORE_VERSION EMAKEHR(0x1481L) #define ISS_E_FILE_NOT_MAPPED EMAKEHR(0x1482L) #define ISS_E_BLOCK_SIZE_TOO_SMALL EMAKEHR(0x1483L) #define ISS_E_ALLOC_TOO_LARGE EMAKEHR(0x1484L) #define ISS_E_USAGE_WILL_EXCEED_QUOTA EMAKEHR(0x1485L) #define ISS_E_TABLE_ROW_NOT_FOUND EMAKEHR(0x1486L) #define ISS_E_DEPRECATE EMAKEHR(0x14A0L) #define ISS_E_CALLER EMAKEHR(0x14A1L) #define ISS_E_PATH_LENGTH EMAKEHR(0x14A2L) #define ISS_E_MACHINE EMAKEHR(0x14A3L) #define ISS_E_ISOSTORE_START EMAKEHR(0x1450L) #define ISS_E_ISOSTORE_END EMAKEHR(0x14FFL) // ****************** // Classlib errors // ****************** // // MessageId: COR_E_APPLICATION // // MessageText: // // The base class for all "less serious" exceptions. // #define COR_E_APPLICATION EMAKEHR(0x1600L) // // MessageId: COR_E_ARGUMENT // // MessageText: // // An argument does not meet the contract of the method. // #define COR_E_ARGUMENT E_INVALIDARG // 0x80070057 // // MessageId: COR_E_ARGUMENTOUTOFRANGE // // MessageText: // // An argument was out of its legal range. // #define COR_E_ARGUMENTOUTOFRANGE EMAKEHR(0x1502L) // // MessageId: COR_E_ARITHMETIC // // MessageText: // // Overflow or underflow in mathematical operations. // #define COR_E_ARITHMETIC HRESULT_FROM_WIN32(ERROR_ARITHMETIC_OVERFLOW) // 0x80070216 // // MessageId: COR_E_ARRAYTYPEMISMATCH // // MessageText: // // Attempted to store an object of the wrong type in an array // #define COR_E_ARRAYTYPEMISMATCH EMAKEHR(0x1503L) // // MessageId: COR_E_CONTEXTMARSHAL // // MessageText: // // // #define COR_E_CONTEXTMARSHAL EMAKEHR(0x1504L) // // MessageId: COR_E_DIVIDEBYZERO // // MessageText: // // Attempted to divide a number by zero. // #define COR_E_DIVIDEBYZERO DISP_E_DIVBYZERO // // MessageId: COR_E_EXCEPTION // // MessageText: // // Base class for all exceptions in the runtime // #define COR_E_EXCEPTION EMAKEHR(0x1500L) // // MessageId: COR_E_EXECUTIONENGINE // // MessageText: // // An internal error happened in the Common Language Runtime's Execution Engine // #define COR_E_EXECUTIONENGINE EMAKEHR(0x1506L) // // MessageId: COR_E_FIELDACCESS // // MessageText: // // Access to this field is denied. // #define COR_E_FIELDACCESS EMAKEHR(0x1507L) // // MessageId: COR_E_FORMAT // // MessageText: // // The format of one arguments does not meet the contract of the method. // #define COR_E_FORMAT EMAKEHR(0x1537L) // // MessageId: COR_E_BADIMAGEFORMAT // // MessageText: // // The format of DLL or executable being loaded is invalid. // #define COR_E_BADIMAGEFORMAT _HRESULT_TYPEDEF_(0x8007000BL) // // MessageId: COR_E_ASSEMBLYEXPECTED // // MessageText: // // The module was expected to contain an assembly manifest. // #define COR_E_ASSEMBLYEXPECTED EMAKEHR(0x1018L) // // MessageId: COR_E_TYPEUNLOADED // // MessageText: // // The type had been unloaded. // #define COR_E_TYPEUNLOADED EMAKEHR(0x1013L) // // MessageId: COR_E_INDEXOUTOFRANGE // // MessageText: // // Attempted to access an element within an array by using an index that is // not within the bound of that array. // #define COR_E_INDEXOUTOFRANGE EMAKEHR(0x1508L) // // MessageId: COR_E_INVALIDCAST // // MessageText: // // Indicates a bad cast condition // #define COR_E_INVALIDCAST E_NOINTERFACE // 0x80004002 // // MessageId: COR_E_INVALIDOPERATION // // MessageText: // // An operation is not legal in the current state. // #define COR_E_INVALIDOPERATION EMAKEHR(0x1509L) // // MessageId: COR_E_INVALIDPROGRAM // // MessageText: // // A program contained invalid IL or bad metadata. Usually this is a compiler bug. // #define COR_E_INVALIDPROGRAM EMAKEHR(0x153AL) // // MessageId: COR_E_MEMBERACCESS // // MessageText: // // Access to this member is denied. // #define COR_E_MEMBERACCESS EMAKEHR(0x151AL) // // MessageId: COR_E_METHODACCESS // // MessageText: // // Access to this method is denied. // #define COR_E_METHODACCESS EMAKEHR(0x1510L) // // MessageId: COR_E_MISSINGFIELD // // MessageText: // // An attempt was made to dynamically access a field that does not exist. // #define COR_E_MISSINGFIELD EMAKEHR(0x1511L) // // MessageId: COR_E_MISSINGMANIFESTRESOURCE // // MessageText: // // An expected resource in the assembly manifest was missing. // #define COR_E_MISSINGMANIFESTRESOURCE EMAKEHR(0x1532L) // // MessageId: COR_E_MISSINGMEMBER // // MessageText: // // An attempt was made to dynamically invoke or access a field or method // that does not exist. // #define COR_E_MISSINGMEMBER EMAKEHR(0x1512L) // // MessageId: COR_E_MISSINGMETHOD // // MessageText: // // An attempt was made to dynamically invoke a method that does not exist // #define COR_E_MISSINGMETHOD EMAKEHR(0x1513L) // // MessageId: COR_E_MULTICASTNOTSUPPORTED // // MessageText: // // Attempted to combine delegates that are not multicast // #define COR_E_MULTICASTNOTSUPPORTED EMAKEHR(0x1514L) // // MessageId: COR_E_NOTFINITENUMBER // // MessageText: // // Thrown if value (a floating point number) is either the not a number value (NaN) or +- infinity value // VB needs this stuff #define COR_E_NOTFINITENUMBER EMAKEHR(0x1528L) // // MessageId: COR_E_DUPLICATEWAITOBJECT // // MessageText: // // An object appears more than once in the wait objects array. // #define COR_E_DUPLICATEWAITOBJECT EMAKEHR(0x1529L) // // MessageId: COR_E_PLATFORMNOTSUPPORTED // // MessageText: // // The method is not supported on this platform // #define COR_E_PLATFORMNOTSUPPORTED EMAKEHR(0x1539L) // // MessageId: COR_E_NOTSUPPORTED // // MessageText: // // The method is not supported // #define COR_E_NOTSUPPORTED EMAKEHR(0x1515L) // // MessageId: COR_E_NULLREFERENCE // // MessageText: // // Dereferencing a null reference. In general class libraries should not throw this // #define COR_E_NULLREFERENCE E_POINTER // 0x80004003 // // MessageId: COR_E_OUTOFMEMORY // // MessageText: // // The EE thows this exception when no more memory is avaible to continue execution // #define COR_E_OUTOFMEMORY E_OUTOFMEMORY // 0x8007000E // // MessageId: COR_E_OVERFLOW // // MessageText: // // An arithmetic, casting, or conversion operation overflowed or underflowed. // #define COR_E_OVERFLOW EMAKEHR(0x1516L) // // MessageId: COR_E_RANK // // MessageText: // // An array has the wrong number of dimensions for a particular operation. // #define COR_E_RANK EMAKEHR(0x1517L) // // MessageId: COR_E_REMOTING // // MessageText: // // An error relating to remoting occurred. // #define COR_E_REMOTING EMAKEHR(0x150BL) #define COR_E_SERVER EMAKEHR(0x150EL) // // MessageId: COR_E_SERVICEDCOMPONENT // // MessageText: // // An error relating to ServicedComponent occurred. // #define COR_E_SERVICEDCOMPONENT EMAKEHR(0x150FL) // // MessageId: COR_E_SECURITY // // MessageText: // // An error relating to security occured. // #define COR_E_SECURITY EMAKEHR(0x150AL) // // MessageID: COR_E_SERIALIZATION // // MessageText: // // An error relating to serialization has occurred. // #define COR_E_SERIALIZATION EMAKEHR(0x150CL) // // MessageId: COR_E_STACKOVERFLOW // // MessageText: // // Is raised by the EE when the execution stack overflows as it is attempting to ex // #define COR_E_STACKOVERFLOW HRESULT_FROM_WIN32(ERROR_STACK_OVERFLOW) // 0x800703E9 // // MessageId: COR_E_SYNCHRONIZATIONLOCK // // MessageText: // // Wait(), Notify() or NotifyAll() was called from an unsynchronized ** block of c // #define COR_E_SYNCHRONIZATIONLOCK EMAKEHR(0x1518L) // // MessageId: COR_E_SYSTEM // // MessageText: // // The base class for the runtime's "less serious" exceptions // #define COR_E_SYSTEM EMAKEHR(0x1501L) // // MessageId: COR_E_THREADABORTED // // MessageText: // // Thrown into a thread to cause it to abort. Not catchable. // #define COR_E_THREADABORTED EMAKEHR(0x1530L) // // MessageId: COR_E_THREADINTERRUPTED // // MessageText: // // Indicates that the thread was interrupted from a waiting state // #define COR_E_THREADINTERRUPTED EMAKEHR(0x1519L) // // MessageId: COR_E_THREADSTATE // // MessageText: // // Indicate that the Thread class is in an invalid state for the method call // #define COR_E_THREADSTATE EMAKEHR(0x1520L) // // MessageId: COR_E_THREADSTOP // // MessageText: // // Thrown into a thread to cause it to stop. This exception is typically not caught // #define COR_E_THREADSTOP EMAKEHR(0x1521L) // // MessageId: COR_E_TYPEINITIALIZATION // // MessageText: // // An exception was thrown by a type's initializer (.cctor). // #define COR_E_TYPEINITIALIZATION EMAKEHR(0x1534L) // // MessageId: COR_E_TYPELOAD // // MessageText: // // Could not find or load a specific type (class, enum, etc). // #define COR_E_TYPELOAD EMAKEHR(0x1522L) // // MessageId: COR_E_ENTRYPOINTNOTFOUND // // MessageText: // // Could not find the specified DllImport entry point // #define COR_E_ENTRYPOINTNOTFOUND EMAKEHR(0x1523L) // // MessageId: COR_E_DLLNOTFOUND // // MessageText: // // Could not find the specified DllImport DLL. // #define COR_E_DLLNOTFOUND EMAKEHR(0x1524L) // // MessageId: COR_E_UNAUTHORIZEDACCESS // // MessageText: // // Access is denied. // #define COR_E_UNAUTHORIZEDACCESS E_ACCESSDENIED // 0x80070005 // // MessageId: COR_E_VERIFICATION // // MessageText: // // A verification failure occurred // #define COR_E_VERIFICATION EMAKEHR(0x150DL) // // MessageId: COR_E_INVALIDCOMOBJECT // // MessageText: // // An invalid __ComObject has been used. // #define COR_E_INVALIDCOMOBJECT EMAKEHR(0x1527L) // // MessageId: COR_E_MARSHALDIRECTIVE // // MessageText: // // The marshaling directives are invalid. // #define COR_E_MARSHALDIRECTIVE EMAKEHR(0x1535L) // // MessageId: COR_E_INVALIDOLEVARIANTTYPE // // MessageText: // // The type of an OLE variant that was passed into the runtime is invalid. // #define COR_E_INVALIDOLEVARIANTTYPE EMAKEHR(0x1531L) // // MessageId: COR_E_SAFEARRAYTYPEMISMATCH // // MessageText: // // A mismatch has occured between the runtime type of the array and the // sub type recorded in the metadata. // #define COR_E_SAFEARRAYTYPEMISMATCH EMAKEHR(0x1533L) // // MessageId: COR_E_SAFEARRAYRANKMISMATCH // // MessageText: // // A mismatch has occured between the runtime rank of the array and the // rank recorded in the metadata. // #define COR_E_SAFEARRAYRANKMISMATCH EMAKEHR(0x1538L) // // MessageId: COR_E_TARGETPARAMCOUNT // // MessageText: // // There was a mismatch between number of arguments provided and the number expected // #define COR_E_TARGETPARAMCOUNT DISP_E_BADPARAMCOUNT // // MessageId: COR_E_AMBIGUOUSMATCH // // MessageText: // // While late binding to a method via reflection, could not resolve between // multiple overloads of a method. // #define COR_E_AMBIGUOUSMATCH _HRESULT_TYPEDEF_(0x8000211DL) // // MessageId: COR_E_INVALIDFILTERCRITERIA // // MessageText: // // The given filter criteria does not match the filter contract. // #define COR_E_INVALIDFILTERCRITERIA EMAKEHR(0x1601L) // // MessageId: COR_E_REFLECTIONTYPELOAD // // MessageText: // // Could not find or load a specific class that was requested through Reflection // #define COR_E_REFLECTIONTYPELOAD EMAKEHR(0x1602L) // // MessageId: COR_E_TARGET // // MessageText: // // - If you attempt to invoke a non-static method with a null Object - If you atte // #define COR_E_TARGET EMAKEHR(0x1603L) // // MessageId: COR_E_TARGETINVOCATION // // MessageText: // // If the method called throws an exception // #define COR_E_TARGETINVOCATION EMAKEHR(0x1604L) // // MessageId: COR_E_CUSTOMATTRIBUTEFORMAT // // MessageText: // // If the binary format of a custom attribute is invalid. // #define COR_E_CUSTOMATTRIBUTEFORMAT EMAKEHR(0x1605L) // // MessageId: COR_E_ENDOFSTREAM // // MessageText: // // Thrown when the End of file is reached // #define COR_E_ENDOFSTREAM HRESULT_FROM_WIN32(ERROR_HANDLE_EOF) // // MessageId: COR_E_FILELOAD // // MessageText: // // // #define COR_E_FILELOAD EMAKEHR(0x1621L) // // MessageId: COR_E_FILENOTFOUND // // MessageText: // // // #define COR_E_FILENOTFOUND HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) // // MessageId: COR_E_IO // // MessageText: // // Some sort of I/O error. // #define COR_E_IO EMAKEHR(0x1620L) // // MessageId: COR_E_DIRECTORYNOTFOUND // // MessageText: // // The specified path couldn't be found. // #define COR_E_DIRECTORYNOTFOUND HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND) // // MessageId: COR_E_PATHTOOLONG // // MessageText: // // The specified path was too long. // #define COR_E_PATHTOOLONG HRESULT_FROM_WIN32(ERROR_FILENAME_EXCED_RANGE) //**** Shim errors 1700 - 1750 // #define CLR_E_SHIM_RUNTIMELOAD EMAKEHR(0x1700) // Failed to load the runtime #define CLR_E_SHIM_RUNTIMEEXPORT EMAKEHR(0x1701) // Failed to find a required export in the runtime #define CLR_E_SHIM_INSTALLROOT EMAKEHR(0x1702) // Install root is not defined #define CLR_E_SHIM_INSTALLCOMP EMAKEHR(0x1703) // Expected component of the runtime is not available //**** Verifier Errors 1800 - 18FF // See src/dlls/mscorrc/mscorrc.rc for a description of each error #define VER_E_HRESULT EMAKEHR(0x1801) #define VER_E_OFFSET EMAKEHR(0x1802) #define VER_E_OPCODE EMAKEHR(0x1803) #define VER_E_OPERAND EMAKEHR(0x1804) #define VER_E_TOKEN EMAKEHR(0x1805) #define VER_E_EXCEPT EMAKEHR(0x1806) #define VER_E_STACK_SLOT EMAKEHR(0x1807) #define VER_E_LOC EMAKEHR(0x1808) #define VER_E_ARG EMAKEHR(0x1809) #define VER_E_FOUND EMAKEHR(0x180A) #define VER_E_EXPECTED EMAKEHR(0x180B) #define VER_E_UNKNOWN_OPCODE EMAKEHR(0x1810) #define VER_E_SIG_CALLCONV EMAKEHR(0x1811) #define VER_E_SIG_ELEMTYPE EMAKEHR(0x1812) #define VER_E_RET_SIG EMAKEHR(0x1814) #define VER_E_FIELD_SIG EMAKEHR(0x1815) #define VER_E_INTERNAL EMAKEHR(0x1818) #define VER_E_STACK_TOO_LARGE EMAKEHR(0x1819) #define VER_E_ARRAY_NAME_LONG EMAKEHR(0x181A) #define VER_E_FALLTHRU EMAKEHR(0x1820) #define VER_E_TRY_GTEQ_END EMAKEHR(0x1821) #define VER_E_TRYEND_GT_CS EMAKEHR(0x1822) #define VER_E_HND_GTEQ_END EMAKEHR(0x1823) #define VER_E_HNDEND_GT_CS EMAKEHR(0x1824) #define VER_E_FLT_GTEQ_CS EMAKEHR(0x1825) #define VER_E_TRY_START EMAKEHR(0x1826) #define VER_E_HND_START EMAKEHR(0x1827) #define VER_E_FLT_START EMAKEHR(0x1828) #define VER_E_TRY_OVERLAP EMAKEHR(0x1829) #define VER_E_TRY_EQ_HND_FIL EMAKEHR(0x182A) #define VER_E_TRY_SHARE_FIN_FAL EMAKEHR(0x182B) #define VER_E_HND_OVERLAP EMAKEHR(0x182C) #define VER_E_HND_EQ EMAKEHR(0x182D) #define VER_E_FIL_OVERLAP EMAKEHR(0x182E) #define VER_E_FIL_EQ EMAKEHR(0x182F) #define VER_E_FIL_CONT_TRY EMAKEHR(0x1830) #define VER_E_FIL_CONT_HND EMAKEHR(0x1831) #define VER_E_FIL_CONT_FIL EMAKEHR(0x1832) #define VER_E_FIL_GTEQ_CS EMAKEHR(0x1833) #define VER_E_FIL_START EMAKEHR(0x1834) #define VER_E_FALLTHRU_EXCEP EMAKEHR(0x1835) #define VER_E_FALLTHRU_INTO_HND EMAKEHR(0x1836) #define VER_E_FALLTHRU_INTO_FIL EMAKEHR(0x1837) #define VER_E_LEAVE EMAKEHR(0x1838) #define VER_E_RETHROW EMAKEHR(0x1839) #define VER_E_ENDFINALLY EMAKEHR(0x183A) #define VER_E_ENDFILTER EMAKEHR(0x183B) #define VER_E_ENDFILTER_MISSING EMAKEHR(0x183C) #define VER_E_BR_INTO_TRY EMAKEHR(0x183D) #define VER_E_BR_INTO_HND EMAKEHR(0x183E) #define VER_E_BR_INTO_FIL EMAKEHR(0x183F) #define VER_E_BR_OUTOF_TRY EMAKEHR(0x1840) #define VER_E_BR_OUTOF_HND EMAKEHR(0x1841) #define VER_E_BR_OUTOF_FIL EMAKEHR(0x1842) #define VER_E_BR_OUTOF_FIN EMAKEHR(0x1843) #define VER_E_RET_FROM_TRY EMAKEHR(0x1844) #define VER_E_RET_FROM_HND EMAKEHR(0x1845) #define VER_E_RET_FROM_FIL EMAKEHR(0x1846) #define VER_E_BAD_JMP_TARGET EMAKEHR(0x1847) #define VER_E_PATH_LOC EMAKEHR(0x1848) #define VER_E_PATH_THIS EMAKEHR(0x1849) #define VER_E_PATH_STACK EMAKEHR(0x184A) #define VER_E_PATH_STACK_DEPTH EMAKEHR(0x184B) #define VER_E_THIS EMAKEHR(0x184C) #define VER_E_THIS_UNINIT_EXCEP EMAKEHR(0x184D) #define VER_E_THIS_UNINIT_STORE EMAKEHR(0x184E) #define VER_E_THIS_UNINIT_RET EMAKEHR(0x184F) #define VER_E_THIS_UNINIT_V_RET EMAKEHR(0x1850) #define VER_E_THIS_UNINIT_BR EMAKEHR(0x1851) #define VER_E_LDFTN_CTOR EMAKEHR(0x1852) #define VER_E_STACK_NOT_EQ EMAKEHR(0x1853) #define VER_E_STACK_UNEXPECTED EMAKEHR(0x1854) #define VER_E_STACK_EXCEPTION EMAKEHR(0x1855) #define VER_E_STACK_OVERFLOW EMAKEHR(0x1856) #define VER_E_STACK_UNDERFLOW EMAKEHR(0x1857) #define VER_E_STACK_EMPTY EMAKEHR(0x1858) #define VER_E_STACK_UNINIT EMAKEHR(0x1859) #define VER_E_STACK_I_I4_I8 EMAKEHR(0x185A) #define VER_E_STACK_R_R4_R8 EMAKEHR(0x185B) #define VER_E_STACK_NO_R_I8 EMAKEHR(0x185C) #define VER_E_STACK_NUMERIC EMAKEHR(0x185D) #define VER_E_STACK_OBJREF EMAKEHR(0x185E) #define VER_E_STACK_P_OBJREF EMAKEHR(0x185F) #define VER_E_STACK_BYREF EMAKEHR(0x1860) #define VER_E_STACK_METHOD EMAKEHR(0x1861) #define VER_E_STACK_ARRAY_SD EMAKEHR(0x1862) #define VER_E_STACK_VALCLASS EMAKEHR(0x1863) #define VER_E_STACK_P_VALCLASS EMAKEHR(0x1864) #define VER_E_STACK_NO_VALCLASS EMAKEHR(0x1865) #define VER_E_LOC_DEAD EMAKEHR(0x1866) #define VER_E_LOC_NUM EMAKEHR(0x1867) #define VER_E_ARG_NUM EMAKEHR(0x1868) #define VER_E_TOKEN_RESOLVE EMAKEHR(0x1869) #define VER_E_TOKEN_TYPE EMAKEHR(0x186A) #define VER_E_TOKEN_TYPE_MEMBER EMAKEHR(0x186B) #define VER_E_TOKEN_TYPE_FIELD EMAKEHR(0x186C) #define VER_E_TOKEN_TYPE_SIG EMAKEHR(0x186D) #define VER_E_UNVERIFIABLE EMAKEHR(0x186E) #define VER_E_LDSTR_OPERAND EMAKEHR(0x186F) #define VER_E_RET_PTR_TO_STACK EMAKEHR(0x1870) #define VER_E_RET_VOID EMAKEHR(0x1871) #define VER_E_RET_MISSING EMAKEHR(0x1872) #define VER_E_RET_EMPTY EMAKEHR(0x1873) #define VER_E_RET_UNINIT EMAKEHR(0x1874) #define VER_E_ARRAY_ACCESS EMAKEHR(0x1875) #define VER_E_ARRAY_V_STORE EMAKEHR(0x1876) #define VER_E_ARRAY_SD EMAKEHR(0x1877) #define VER_E_ARRAY_SD_PTR EMAKEHR(0x1878) #define VER_E_ARRAY_FIELD EMAKEHR(0x1879) #define VER_E_ARGLIST EMAKEHR(0x187A) #define VER_E_VALCLASS EMAKEHR(0x187B) #define VER_E_METHOD_ACCESS EMAKEHR(0x187C) #define VER_E_FIELD_ACCESS EMAKEHR(0x187D) #define VER_E_DEAD EMAKEHR(0x187E) #define VER_E_FIELD_STATIC EMAKEHR(0x187F) #define VER_E_FIELD_NO_STATIC EMAKEHR(0x1880) #define VER_E_ADDR EMAKEHR(0x1881) #define VER_E_ADDR_BYREF EMAKEHR(0x1882) #define VER_E_ADDR_LITERAL EMAKEHR(0x1883) #define VER_E_INITONLY EMAKEHR(0x1884) #define VER_E_THROW EMAKEHR(0x1885) #define VER_E_CALLVIRT_VALCLASS EMAKEHR(0x1886) #define VER_E_CALL_SIG EMAKEHR(0x1887) #define VER_E_CALL_STATIC EMAKEHR(0x1888) #define VER_E_CTOR EMAKEHR(0x1889) #define VER_E_CTOR_VIRT EMAKEHR(0x188A) #define VER_E_CTOR_OR_SUPER EMAKEHR(0x188B) #define VER_E_CTOR_MUL_INIT EMAKEHR(0x188C) #define VER_E_SIG EMAKEHR(0x188D) #define VER_E_SIG_ARRAY EMAKEHR(0x188E) #define VER_E_SIG_ARRAY_PTR EMAKEHR(0x188F) #define VER_E_SIG_ARRAY_BYREF EMAKEHR(0x1890) #define VER_E_SIG_ELEM_PTR EMAKEHR(0x1891) #define VER_E_SIG_VARARG EMAKEHR(0x1892) #define VER_E_SIG_VOID EMAKEHR(0x1893) #define VER_E_SIG_BYREF_BYREF EMAKEHR(0x1894) #define VER_E_CODE_SIZE_ZERO EMAKEHR(0x1896) #define VER_E_BAD_VARARG EMAKEHR(0x1897) #define VER_E_TAIL_CALL EMAKEHR(0x1898) #define VER_E_TAIL_BYREF EMAKEHR(0x1899) #define VER_E_TAIL_RET EMAKEHR(0x189A) #define VER_E_TAIL_RET_VOID EMAKEHR(0x189B) #define VER_E_TAIL_RET_TYPE EMAKEHR(0x189C) #define VER_E_TAIL_STACK_EMPTY EMAKEHR(0x189D) #define VER_E_METHOD_END EMAKEHR(0x189E) #define VER_E_BAD_BRANCH EMAKEHR(0x189F) #define VER_E_FIN_OVERLAP EMAKEHR(0x18A0) #define VER_E_LEXICAL_NESTING EMAKEHR(0x18A1) #define VER_E_VOLATILE EMAKEHR(0x18A2) #define VER_E_UNALIGNED EMAKEHR(0x18A3) #define VER_E_INNERMOST_FIRST EMAKEHR(0x18A4) #define VER_E_CALLI_VIRTUAL EMAKEHR(0x18A5) #define VER_E_CALL_ABSTRACT EMAKEHR(0x18A6) #define VER_E_STACK_UNEXP_ARRAY EMAKEHR(0x18A7) #define VER_E_NOT_IN_GC_HEAP EMAKEHR(0x18A8) #define VER_E_TRY_N_EMPTY_STACK EMAKEHR(0x18A9) #define VER_E_DLGT_CTOR EMAKEHR(0x18AA) #define VER_E_DLGT_BB EMAKEHR(0x18AB) #define VER_E_DLGT_PATTERN EMAKEHR(0x18AC) #define VER_E_DLGT_LDFTN EMAKEHR(0x18AD) #define VER_E_FTN_ABSTRACT EMAKEHR(0x18AE) #define VER_E_SIG_C_VC EMAKEHR(0x18AF) #define VER_E_SIG_VC_C EMAKEHR(0x18B0) #define VER_E_BOX_PTR_TO_STACK EMAKEHR(0x18B1) #define VER_E_SIG_BYREF_TB_AH EMAKEHR(0x18B2) #define VER_E_SIG_ARRAY_TB_AH EMAKEHR(0x18B3) #define VER_E_ENDFILTER_STACK EMAKEHR(0x18B4) #define VER_E_DLGT_SIG_I EMAKEHR(0x18B5) #define VER_E_DLGT_SIG_O EMAKEHR(0x18B6) #define VER_E_RA_PTR_TO_STACK EMAKEHR(0x18B7) #define VER_E_CATCH_VALUE_TYPE EMAKEHR(0x18B8) #define VER_E_FIL_PRECEED_HND EMAKEHR(0x18B9) #define VER_E_LDVIRTFTN_STATIC EMAKEHR(0x18BA) #define VER_E_CALLVIRT_STATIC EMAKEHR(0x18BB) #define VER_E_INITLOCALS EMAKEHR(0x18BC) #define VER_E_BR_TO_EXCEPTION EMAKEHR(0x18BD) #define VER_E_CALL_CTOR EMAKEHR(0x18BE) #define VER_E_BAD_PE EMAKEHR(0x18F0) #define VER_E_BAD_MD EMAKEHR(0x18F1) #define VER_E_BAD_APPDOMAIN EMAKEHR(0x18F2) #define VER_E_TYPELOAD EMAKEHR(0x18F3) #define VER_E_PE_LOAD EMAKEHR(0x18F4) // // ATTENTION: Range 0x1900 - 0x1AFF is reserved for Framework errors // Range 0x1B00 - 0x1BFF is reserved for MD Validator errors (see above VLDTR_E_...) // #endif // __COMMON_LANGUAGE_RUNTIME_HRESULTS__