Random things about .NET, CLR, C++, and work
I recently got Samsung Focus but it doesn’t get recognized by the Zune Software – it says “No device connected”, even though my phone did ring a sound when it connects to my computer and zune software did pop up. Spend half hour searching for solutions and I run into this article:
http://www.microsoft.com/windowsphone/en-us/howto/wp7/basics/the-zune-software-doesnt-recognize-my-phone.aspx
One of the advices is to try a different USB port, like the one on the back of the computer. In fact I was connecting my phone to the front USB port, and switch to the USB port on the back actually worked for me. Not sure why this phone is so picky about the USB port… Anyway, thought I should share this just in case there are other people run into the same problem.
What is 0x8013XXXX
Occasionally you might run into mysterious HRESULTs returned from .NET that begins with 0x8013, for example, 0x80131522. Unfortunately the error lookup shipped with Visual Studio doesn’t really work on those strange HRESULTs. What are they?
It turns out they are in fact, defined by .NET/CLR in the header files. All these failure/success HRESULTs are defined in corerror.h in your platform SDK include directory (typically C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include). All these HRESULTs have their facility defined as FACILITY_URT=0x13 (in which URT stands for Universal Runtimeis an old 3-letter acronym for CLR, there are other funny old names for CLR - COM+ is one of them). If you don’t recall what facility is, you can think it as a category for the error – a HRESULT have facility = FACILITY_URT is returned from CLR.
If you look at the binary layout of a HRESULT below, you’ll see any CLR failure code will begin with 0x8013, and all the success code will begin with 0x0013.
Interpreting the HRESULT
Let’s say you are seeing a HRESULT 0x80131522, how do you know what error it is? Actually it is quite straight-forward - all the HRESULTs are defined in corerror.h in the following fashion:
#define COR_E_APPDOMAINUNLOADED EMAKEHR(0x1014)
EMAKEHR is defined as follows:
#define EMAKEHR(val) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_URT, val)
MAKE_HRESULT is a windows macro which does some simple bit math and use SEVERITY_ERROR, FACILITY_URT, and val (as the lower 16-bits) to compose a HRESULT. So if you open corerror.h in your favorite editor, and search for the lower 16-bits which is 1522, you’ll easily locate the line:
#define COR_E_TYPELOAD EMAKEHR(0x1522)
Now you’ve probably already figured out it is a type load failure. But what if the name doesn’t give us any meaningful information? If that’s the case, now it is time to look it up in the resource DLL.
Look it up in mscorrc.dll
All the resources used by the native implementation of CLR (mscorwks/mscorsvr in v1/v2, clr.dll in v4) are saved in mscorrc.dll. Every resource string in resource DLLs have a resource ID. If you add 0x6000 to HRESULT code (the lower 16-bits part), you’ll get the error message ID in the resource. For example, the error message ID for 0x80131522 will be 0x6000+0x1522=29986. Now, open mscorrc.dll in Visual Studio (or whatever resource editor you got), and find the string ID with 29986:
Now you know the error message is: Could not find or load type.
A full list of HRESULTs
To save everyone from looking things up from corerror.h and mscorrc.dll, I made a table consists of every error HRESULT in .NET 4.0 and their corresponding error message (extracted by a little tool I wrote). Note that there are some HRESULTs don’t have corresponding resource strings as they don’t follow the rules I talked about above and those are listed as <N/A> in the table below.
HRESULT #define name
Value
Error message
CEE_E_ENTRYPOINT
0x80131000
Invalid entrypoint information.
CEE_E_CVTRES_NOT_FOUND
0x80131001
cvtres.exe not found.
MSEE_E_LOADLIBFAILED
0x80131010
Failed to delayload a library.
MSEE_E_GETPROCFAILED
0x80131011
Failed to get dll entrypoint.
MSEE_E_MULTCOPIESLOADED
0x80131012
Multiple copies of mscoree.dll have been loaded into the same process.
COR_E_TYPEUNLOADED
0x80131013
Type has been unloaded.
COR_E_APPDOMAINUNLOADED
0x80131014
Attempted to access an unloaded appdomain.
COR_E_CANNOTUNLOADAPPDOMAIN
0x80131015
Error while unloading appdomain.
MSEE_E_ASSEMBLYLOADINPROGRESS
0x80131016
Assembly is still being loaded.
MSEE_E_CANNOTCREATEAPPDOMAIN
0x80131017
Attempt to create appdomain failed.
COR_E_ASSEMBLYEXPECTED
0x80131018
The module was expected to contain an assembly manifest.
COR_E_FIXUPSINEXE
0x80131019
Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.)
COR_E_NO_LOADLIBRARY_ALLOWED
0x8013101a
The private assembly was located outside the appbase directory.
COR_E_NEWER_RUNTIME
0x8013101b
A module specified in the manifest was not found.
COR_E_CANNOT_SET_POLICY
0x8013101c
Modules which are not in the manifest were streamed in.
COR_E_CANNOT_SPECIFY_EVIDENCE
0x8013101d
A strongly-named assembly is required.
COR_E_MULTIMODULEASSEMBLIESDIALLOWED
0x8013101e
Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key.
HOST_E_DEADLOCK
0x80131020
Host detected a deadlock on a blocking operation.
HOST_E_INTERRUPTED
0x80131021
Host interrupted a wait.
HOST_E_INVALIDOPERATION
0x80131022
Invalid operation.
HOST_E_CLRNOTAVAILABLE
0x80131023
CLR has been disabled due to unrecoverable error.
HOST_E_TIMEOUT
0x80131024
A wait has timed out.
HOST_E_NOT_OWNER
0x80131025
The leave operation has been attempted on a synchronization primitive that is not owned by the current thread.
HOST_E_ABANDONED
0x80131026
An event has been abandoned.
HOST_E_EXITPROCESS_THREADABORT
0x80131027
Process exited due to ThreadAbort escalation.
HOST_E_EXITPROCESS_ADUNLOAD
0x80131028
Process exited due to AD Unload escalation.
HOST_E_EXITPROCESS_TIMEOUT
0x80131029
Process exited due to Timeout escalation.
HOST_E_EXITPROCESS_OUTOFMEMORY
0x8013102a
LoadFrom(), LoadFile(), Load(byte[]) and LoadModule() have been disabled by the host.
HOST_E_EXITPROCESS_STACKOVERFLOW
0x8013102b
Failed to add file to AppDomain cache.
COR_E_MODULE_HASH_CHECK_FAILED
0x80131039
The check of the module's hash failed.
FUSION_E_REF_DEF_MISMATCH
0x80131040
The located assembly's manifest definition does not match the assembly reference.
FUSION_E_INVALID_PRIVATE_ASM_LOCATION
0x80131041
FUSION_E_ASM_MODULE_MISSING
0x80131042
FUSION_E_UNEXPECTED_MODULE_FOUND
0x80131043
FUSION_E_PRIVATE_ASM_DISALLOWED
0x80131044
FUSION_E_SIGNATURE_CHECK_FAILED
0x80131045
FUSION_E_DATABASE_ERROR
0x80131046
An unexpected error was encountered in the Assembly Cache database.
FUSION_E_INVALID_NAME
0x80131047
The given assembly name or codebase was invalid.
FUSION_E_CODE_DOWNLOAD_DISABLED
0x80131048
HTTP download of assemblies has been disabled for this appdomain.
FUSION_E_UNINSTALL_DISALLOWED
0x80131049
Uninstall of given assembly is not allowed.
FUSION_E_HOST_GAC_ASM_MISMATCH
0x80131050
Assembly in host store has a different signature than assembly in GAC.
FUSION_E_LOADFROM_BLOCKED
0x80131051
FUSION_E_CACHEFILE_FAILED
0x80131052
FUSION_E_APP_DOMAIN_LOCKED
0x80131053
The requested assembly version conflicts with what is already bound in the app domain or specified in the manifest.
FUSION_E_CONFIGURATION_ERROR
0x80131054
The requested assembly name was neither found in the GAC nor in the manifest or the manifest's specified location is wrong.
FUSION_E_MANIFEST_PARSE_ERROR
0x80131055
Unexpected error while parsing the specified manifest.
FUSION_E_INVALID_ASSEMBLY_REFERENCE
0x80131056
The given assembly name is invalid because a processor architecture is specified.
COR_E_ASSEMBLY_NOT_EXPECTED
0x80131057
The module was expected to not contain an assembly manifest.
COR_E_LOADING_REFERENCE_ASSEMBLY
0x80131058
Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context.
CLDB_E_FILE_BADREAD
0x80131100
Error occurred during a read.
CLDB_E_FILE_BADWRITE
0x80131101
Error occurred during a write.
CLDB_E_FILE_READONLY
0x80131103
File is read only.
CLDB_E_NAME_ERROR
0x80131105
Ill-formed name.
CLDB_E_TRUNCATION
0x80131106
Data value was truncated.
CLDB_E_FILE_OLDVER
0x80131107
Old version error.
CLDB_E_RELOCATED
0x80131108
A shared memory open failed to open at the originally assigned memory address.
CLDB_E_SMDUPLICATE
0x8013110a
Too many records were returned for criteria.
CLDB_E_NO_DATA
0x8013110b
Record is a duplicate.
CLDB_E_READONLY
0x8013110c
Primary key value is required.
CLDB_E_INCOMPATIBLE
0x8013110d
Record is valid but deleted.
CLDB_E_FILE_CORRUPT
0x8013110e
Record is emitted out of order.
CLDB_E_SCHEMA_VERNOTFOUND
0x8013110f
<N/A>
CLDB_E_BADUPDATEMODE
0x80131110
Cannot open a incrementally build scope for full update.
CLDB_E_INDEX_NONULLKEYS
0x80131121
Null value not allowed in unique index or primary key.
CLDB_E_INDEX_DUPLICATE
0x80131122
Index has been duplicated.
CLDB_E_INDEX_BADTYPE
0x80131123
The columns data type is not allowed in an index.
CLDB_E_INDEX_NOTFOUND
0x80131124
Index not found.
CLDB_E_RECORD_NOTFOUND
0x80131130
Record not found on lookup.
CLDB_E_RECORD_OVERFLOW
0x80131131
CLDB_E_RECORD_DUPLICATE
0x80131132
CLDB_E_RECORD_PKREQUIRED
0x80131133
CLDB_E_RECORD_DELETED
0x80131134
CLDB_E_RECORD_OUTOFORDER
0x80131135
CLDB_E_COLUMN_OVERFLOW
0x80131140
Data too large.
CLDB_E_COLUMN_READONLY
0x80131141
Column cannot be changed.
CLDB_E_COLUMN_SPECIALCOL
0x80131142
Too many RID or primary key columns, 1 is max.
CLDB_E_COLUMN_PKNONULLS
0x80131143
Primary key column may not allow the null value.
CLDB_E_TABLE_CANTDROP
0x80131150
Attempted auto-drop of table while open.
CLDB_E_OBJECT_NOTFOUND
0x80131151
Object not found in the database.
CLDB_E_OBJECT_COLNOTFOUND
0x80131152
Column not found.
CLDB_E_VECTOR_BADINDEX
0x80131153
Invalid index.
CLDB_E_TOO_BIG
0x80131154
A blob or string was too big.
META_E_INVALID_TOKEN_TYPE
0x8013115f
TypeLib export: Detected array of SafeHandles.
TLBX_E_INVALID_TYPEINFO
0x80131160
Typelib import: Invalid type, not converted.
TLBX_E_INVALID_TYPEINFO_UNNAMED
0x80131161
Typelib import: Invalid type, not converted - name unknown.
TLBX_E_CTX_NESTED
0x80131162
Typelib export: TLBX_E_CTX_NESTED
TLBX_E_ERROR_MESSAGE
0x80131163
Typelib export: General error. See IError info for more information.
TLBX_E_CANT_SAVE
0x80131164
Typelib export: SaveAllChanges() failed.
TLBX_W_LIBNOTREGISTERED
0x80131165
Typelib export: Type library is not registered.
TLBX_E_CANTLOADLIBRARY
0x80131166
Typelib export: Type library could not be loaded.
TLBX_E_BAD_VT_TYPE
0x80131167
Typelib import: Invalid vartype, not converted.
TLBX_E_NO_MSCOREE_TLB
0x80131168
Typelib export: Could not load mscoree.tlb.
TLBX_E_BAD_MSCOREE_TLB
0x80131169
Typelib export: Could not get a required typeinfo from mscoree.tlb.
TLBX_E_TLB_EXCEPTION
0x8013116a
Merge: Method is duplicated but no matching property info.
TLBX_E_MULTIPLE_LCIDS
0x8013116b
Bad binary signature.
TLBX_E_AMBIGUOUS_RETURN
0x8013116d
Merge: duplicated methods have inconsistent ImplFlags.
TLBX_E_DUPLICATE_TYPE_NAME
0x8013116e
Merge: Inconsistency in meta data.
TLBX_I_NONSEQUENTIALSTRUCT
0x80131172
Typelib export: Cannot convert non-sequential structs.
TLBX_I_RESOLVEREFFAILED
0x80131174
Typelib import: The resolve ref call failed.
TLBX_E_ASANY
0x80131175
Typelib export: Encountered AsAny - ignored.
TLBX_E_INVALIDLCIDPARAM
0x80131176
Typelib export: Encountered an [lcid] attribute set to an invalid parameter.
TLBX_E_LCIDONDISPONLYITF
0x80131177
Typelib export: Encountered an [lcid] attribute on a pure dispatch interface.
TLBX_E_NONPUBLIC_FIELD
0x80131178
Typelib export: Non-public field in public struct.
TLBX_E_BAD_NAMES
0x8013117b
TypeLib export: the hModule of a loaded class is 0; cannot export it.
TLBX_E_GENERICINST_SIGNATURE
0x8013117d
TypeLib export: attempted to export an Assembly imported from a TLB.
TLBX_E_GENERICPAR_SIGNATURE
0x8013117e
TypeLib import: attempted to import a TLB exported from an Assembly.
META_E_DUPLICATE
0x80131180
Attempted to define an object that already exists.
META_E_GUID_REQUIRED
0x80131181
A guid was not provided where one was required.
META_E_TYPEDEF_MISMATCH
0x80131182
Merge: an import typedef matched ns.name, but not version and guid.
META_E_MERGE_COLLISION
0x80131183
Merge: conflict between import and emit.
TLBX_E_NO_SAFEHANDLE_ARRAYS
0x80131186
META_E_METHD_NOT_FOUND
0x80131187
Merge: Class already in emit scope, but member not found.
META_E_FIELD_NOT_FOUND
0x80131188
META_E_PARAM_MISMATCH
0x80131189
Merge: Parameter information mismatched.
META_E_BADMETADATA
0x8013118a
Typelib export: Types which contain the native type NATIVE_TYPE_LPTSTR are not allowed to be exported to COM.
META_E_INTFCEIMPL_NOT_FOUND
0x8013118b
Typelib export: Types with a charset of auto are not allowed to be exported to COM.
TLBX_E_NO_CRITICALHANDLE_ARRAYS
0x8013118c
META_E_CLASS_LAYOUT_INCONSISTENT
0x8013118d
META_E_FIELD_MARSHAL_NOT_FOUND
0x8013118e
Typelib export: The enum value is not legal for a typelib.
META_E_METHODSEM_NOT_FOUND
0x8013118f
Typelib export: Duplicate IID.
META_E_EVENT_NOT_FOUND
0x80131190
Merge: Method is duplicated but no matching event info.
META_E_PROP_NOT_FOUND
0x80131191
META_E_BAD_SIGNATURE
0x80131192
META_E_BAD_INPUT_PARAMETER
0x80131193
Bad input parameters.
META_E_METHDIMPL_INCONSISTENT
0x80131194
META_E_MD_INCONSISTENCY
0x80131195
META_E_CANNOTRESOLVETYPEREF
0x80131196
Cannot resolve typeref.
META_E_STRINGSPACE_FULL
0x80131198
No logical space left to create more user strings.
META_E_UNEXPECTED_REMAP
0x80131199
Unexpected TokenRemap.
META_E_HAS_UNMARKALL
0x8013119a
Known custom attribute had invalid value.
META_E_MUST_CALL_UNMARKALL
0x8013119b
Known custom attribute blob has bad format.
META_E_GENERICPARAM_INCONSISTENT
0x8013119c
Known custom attribute blob has repeated named argument.
META_E_EVENT_COUNTS
0x8013119d
Known custom attribute named argument not recognized.
META_E_PROPERTY_COUNTS
0x8013119e
Known attribute named argument does not support variant.
META_E_TYPEDEF_MISSING
0x8013119f
Known attribute named argument does not support array.
TLBX_E_CANT_LOAD_MODULE
0x801311a0
Failure decoding permission set.
TLBX_E_CANT_LOAD_CLASS
0x801311a1
Failure encoding permission set.
TLBX_E_NULL_MODULE
0x801311a2
Unrecognized encoding format.
TLBX_E_NO_CLSID_KEY
0x801311a3
StrongName APIs not supported on system.
TLBX_E_CIRCULAR_EXPORT
0x801311a4
StrongName APIs could not locate a matching CSP.
TLBX_E_CIRCULAR_IMPORT
0x801311a5
Invalid security custom attribute.
TLBX_E_BAD_NATIVETYPE
0x801311a6
PolicyException thrown.
TLBX_E_BAD_VTABLE
0x801311a7
Failed to grant minimum permission requests.
TLBX_E_CRM_NON_STATIC
0x801311a8
Failed to grant permission to execute.
TLBX_E_CRM_INVALID_SIG
0x801311a9
XML Syntax error.
TLBX_E_CLASS_LOAD_EXCEPTION
0x801311aa
Bad custom attribute serialized blob version.
TLBX_E_UNKNOWN_SIGNATURE
0x801311ab
Invalid security action code.
TLBX_E_REFERENCED_TYPELIB
0x801311ac
CA reference to CA definition in same assembly.
TLBX_E_INVALID_NAMESPACE
0x801311ad
Use of non-CAS permission with invalid action.
TLBX_E_LAYOUT_ERROR
0x801311ae
Failed to load assembly containing CA (or required CA type).
TLBX_E_NOTIUNKNOWN
0x801311af
TLBX_E_NONVISIBLEVALUECLASS
0x801311b0
Signature size mismatch.
TLBX_E_LPTSTR_NOT_ALLOWED
0x801311b1
Public key of assembly did not match signing public key.
TLBX_E_AUTO_CS_NOT_ALLOWED
0x801311b2
TLBX_E_ENUM_VALUE_INVALID
0x801311b5
TLBX_E_DUPLICATE_IID
0x801311b6
TLBX_E_NO_NESTED_ARRAYS
0x801311b7
TLBX_E_PARAM_ERROR_NAMED
0x801311b8
TLBX_E_PARAM_ERROR_UNNAMED
0x801311b9
TLBX_E_AGNOST_SIGNATURE
0x801311ba
TLBX_E_CONVERT_FAIL
0x801311bb
TLBX_W_DUAL_NOT_DISPATCH
0x801311bc
TLBX_E_BAD_SIGNATURE
0x801311bd
TLBX_E_ARRAY_NEEDS_NT_FIXED
0x801311be
TLBX_E_CLASS_NEEDS_NT_INTF
0x801311bf
META_E_CA_INVALID_TARGET
0x801311c0
Failure during Cryptographic operation.
META_E_CA_INVALID_VALUE
0x801311c1
Unexpected Cryptographic operation.
META_E_CA_INVALID_BLOB
0x801311c2
META_E_CA_REPEATED_ARG
0x801311c3
META_E_CA_UNKNOWN_ARGUMENT
0x801311c4
META_E_CA_VARIANT_NYI
0x801311c5
META_E_CA_ARRAY_NYI
0x801311c6
META_E_CA_UNEXPECTED_TYPE
0x801311c7
META_E_CA_INVALID_ARGTYPE
0x801311c8
META_E_CA_INVALID_ARG_FOR_TYPE
0x801311c9
META_E_CA_INVALID_UUID
0x801311ca
Unable to create store file mapping.
META_E_CA_INVALID_MARSHALAS_FIELDS
0x801311cb
Unable to map the store file.
META_E_CA_NT_FIELDONLY
0x801311cc
Unable to determine store file size.
META_E_CA_NEGATIVE_PARAMINDEX
0x801311cd
Unable to create mutex.
META_E_CA_NEGATIVE_MULTIPLIER
0x801311ce
Unable to lock the store.
META_E_CA_NEGATIVE_CONSTSIZE
0x801311cf
File Write failed.
META_E_CA_FIXEDSTR_SIZE_REQUIRED
0x801311d0
Bad custom attribute serialized blob.
META_E_CA_CUSTMARSH_TYPE_REQUIRED
0x801311d1
META_E_CA_FILENAME_REQUIRED
0x801311d2
TLBX_W_NO_PROPS_IN_EVENTS
0x801311d3
META_E_NOT_IN_ENC_MODE
0x801311d4
META_E_METHOD_COUNTS
0x801311d6
META_E_FIELD_COUNTS
0x801311d7
Failed to load CA type (or required CA type).
META_E_PARAM_COUNTS
0x801311d8
TLBX_E_TYPED_REF
0x801311da
TLBX_E_BITNESS_MISMATCH
0x801311e1
TLBX_E_EVENT_WITH_NEWENUM
0x801311e2
TLBX_E_PROPGET_WITHOUT_RETURN
0x801311e3
META_E_MISMATCHED_VISIBLITY
0x801311e4
META_E_CA_BAD_FRIENDS_ARGS
0x801311e5
META_E_CA_FRIENDS_SN_REQUIRED
0x801311e6
VLDTR_E_RID_OUTOFRANGE
0x80131203
Rid is out of range.
VLDTR_E_CDTKN_OUTOFRANGE
0x80131204
Coded token type is out of range.
VLDTR_E_CDRID_OUTOFRANGE
0x80131205
Coded rid is out of range.
VLDTR_E_STRING_INVALID
0x80131206
String offset is invalid.
VLDTR_E_GUID_INVALID
0x80131207
GUID offset is invalid.
VLDTR_E_BLOB_INVALID
0x80131208
Blob offset if invalid.
VLDTR_E_MOD_MULTI
0x80131209
Multiple module records found.
VLDTR_E_MOD_NULLMVID
0x8013120a
FieldLayout2 has a duplicate.
VLDTR_E_TR_NAMENULL
0x8013120b
ModuleRef name is NULL.
VLDTR_E_TR_DUP
0x8013120c
ModuleRef has a duplicate.
VLDTR_E_TD_NAMENULL
0x8013120d
TypeRef has a bad resolution scope.
VLDTR_E_TD_DUPNAME
0x8013120e
TypeDef marked nested has no encloser.
VLDTR_E_TD_DUPGUID
0x8013120f
TypeDef extends a TypeRef which resolves to a TypeDef in the same module.
VLDTR_E_TD_NOTIFACEOBJEXTNULL
0x80131210
TypeDef that is not an Interface and not System.Object extends nil parent.
VLDTR_E_TD_OBJEXTENDSNONNULL
0x80131211
System.Object extends a non-nil parent.
VLDTR_E_TD_EXTENDSSEALED
0x80131212
TypeDef extends sealed class.
VLDTR_E_TD_DLTNORTSPCL
0x80131213
TypeDef is Deleted but not marked with RTSpecialName.
VLDTR_E_TD_RTSPCLNOTDLT
0x80131214
TypeDef is marked RTSpecialName, but is not a Deleted record.
VLDTR_E_MI_DECLPRIV
0x80131215
MethodImpl's Decl is private.
VLDTR_E_AS_BADNAME
0x80131216
Assembly [Ref] name has path and/or extension.
VLDTR_E_FILE_SYSNAME
0x80131217
File has a system name (con, com, aux, etc.).
VLDTR_E_MI_BODYSTATIC
0x80131218
MethodImpl's body is static.
VLDTR_E_TD_IFACENOTABS
0x80131219
TypeDef is marked Interface but not Abstract.
VLDTR_E_TD_IFACEPARNOTNIL
0x8013121a
Signature has function pointer missing argument count.
VLDTR_E_TD_IFACEGUIDNULL
0x8013121b
Signature is missing rank specification.
VLDTR_E_MI_DECLFINAL
0x8013121c
Signature is missing count of sized dimensions.
VLDTR_E_TD_VTNOTSEAL
0x8013121d
Signature is missing size of dimension.
VLDTR_E_PD_BADFLAGS
0x8013121e
Signature is missing count of lower bounds.
VLDTR_E_IFACE_DUP
0x8013121f
Signature is missing a lower bound.
VLDTR_E_MR_NAMENULL
0x80131220
MemberRef name is NULL.
VLDTR_E_MR_VTBLNAME
0x80131221
MemberRef has an invalid name, _VtblGap*.
VLDTR_E_MR_DELNAME
0x80131222
MemberRef has an invalid name, _Deleted*.
VLDTR_E_MR_PARNIL
0x80131223
MemberRef parent Nil in a PE file.
VLDTR_E_MR_BADCALLINGCONV
0x80131224
MemberRef has invalid calling convention.
VLDTR_E_MR_NOTVARARG
0x80131225
MemberRef has Method parent but calling convention is not VARARG.
VLDTR_E_MR_NAMEDIFF
0x80131226
MemberRef name different from parent MethodDef.
VLDTR_E_MR_SIGDIFF
0x80131227
MemberRef signature different from parent MethodDef.
VLDTR_E_MR_DUP
0x80131228
MemberRef has a duplicate.
VLDTR_E_CL_TDAUTO
0x80131229
ClassLayout parent TypeDef is marked AutoLayout.
VLDTR_E_CL_BADPCKSZ
0x8013122a
Assembly name is NULL.
VLDTR_E_CL_DUP
0x8013122b
E_T_VALUETYPE<class token> or E_T_CLASS<vtype token>.
VLDTR_E_FL_BADOFFSET
0x8013122c
Class layout on an Interface.
VLDTR_E_FL_TDNIL
0x8013122d
AssemblyOS platform ID invalid.
VLDTR_E_FL_NOCL
0x8013122e
AssemblyRef name is NULL.
VLDTR_E_FL_TDNOTEXPLCT
0x8013122f
TypeDef not nested has encloser.
VLDTR_E_FL_FLDSTATIC
0x80131230
FieldLayout2 has field marked Static.
VLDTR_E_FL_DUP
0x80131231
VLDTR_E_MODREF_NAMENULL
0x80131232
VLDTR_E_MODREF_DUP
0x80131233
VLDTR_E_TR_BADSCOPE
0x80131234
VLDTR_E_TD_NESTEDNOENCL
0x80131235
VLDTR_E_TD_EXTTRRES
0x80131236
VLDTR_E_SIGNULL
0x80131237
Signature specified is zero-sized.
VLDTR_E_SIGNODATA
0x80131238
Signature does not have enough data at specified byte.
VLDTR_E_MD_BADCALLINGCONV
0x80131239
Method signature has invalid calling convention.
VLDTR_E_MD_THISSTATIC
0x8013123a
Enum has no value__ field.
VLDTR_E_MD_NOTTHISNOTSTATIC
0x8013123b
Enum's value__ field is static.
VLDTR_E_MD_NOARGCNT
0x8013123c
Enum's value__ field is not SpecialName.
VLDTR_E_SIG_MISSELTYPE
0x8013123d
Enum's field is not static.
VLDTR_E_SIG_MISSTKN
0x8013123e
Enum's field is not literal.
VLDTR_E_SIG_TKNBAD
0x8013123f
Enum has no literal fields.
VLDTR_E_SIG_MISSFPTR
0x80131240
Signature is missing function pointer.
VLDTR_E_SIG_MISSFPTRARGCNT
0x80131241
VLDTR_E_SIG_MISSRANK
0x80131242
VLDTR_E_SIG_MISSNSIZE
0x80131243
VLDTR_E_SIG_MISSSIZE
0x80131244
VLDTR_E_SIG_MISSNLBND
0x80131245
VLDTR_E_SIG_MISSLBND
0x80131246
VLDTR_E_SIG_BADELTYPE
0x80131247
Signature has bad element type.
VLDTR_E_SIG_MISSVASIZE
0x80131248
Signature has value array missing size.
VLDTR_E_FD_BADCALLINGCONV
0x80131249
Field signature has invalid calling convention.
VLDTR_E_MD_NAMENULL
0x8013124a
Field is marked marshaled but has no marshaling record.
VLDTR_E_MD_PARNIL
0x8013124b
Field has marshaling record but is not marked marshaled.
VLDTR_E_MD_DUP
0x8013124c
Field is marked HasDefault but has no const value.
VLDTR_E_FD_NAMENULL
0x8013124d
Field has const value record but is not marked HasDefault.
VLDTR_E_FD_PARNIL
0x8013124e
Field or method is marked HasSecurity but has no security record.
VLDTR_E_FD_DUP
0x8013124f
Field or method has security record but is not marked HasSecurity.
VLDTR_E_AS_MULTI
0x80131250
Multiple Assembly records found.
VLDTR_E_AS_NAMENULL
0x80131251
VLDTR_E_SIG_TOKTYPEMISMATCH
0x80131252
VLDTR_E_CL_TDINTF
0x80131253
VLDTR_E_ASOS_OSPLTFRMIDINVAL
0x80131254
VLDTR_E_AR_NAMENULL
0x80131255
VLDTR_E_TD_ENCLNOTNESTED
0x80131256
VLDTR_E_AROS_OSPLTFRMIDINVAL
0x80131257
AssemblyRefOS has invalid platform ID.
VLDTR_E_FILE_NAMENULL
0x80131258
File name is NULL.
VLDTR_E_CT_NAMENULL
0x80131259
ExportedType name is NULL.
VLDTR_E_TD_EXTENDSCHILD
0x8013125a
Field is Literal but not Static.
VLDTR_E_MAR_NAMENULL
0x8013125b
Field or method is RTSpec.Name but not Spec.Name.
VLDTR_E_FILE_DUP
0x8013125c
Method is abstract, parent is not.
VLDTR_E_FILE_NAMEFULLQLFD
0x8013125d
Method not static or abstract in interface.
VLDTR_E_CT_DUP
0x8013125e
Method not public in interface.
VLDTR_E_MAR_DUP
0x8013125f
.ctor in interface.
VLDTR_E_MAR_NOTPUBPRIV
0x80131260
ManifestResource is neither Public nor Private.
VLDTR_E_TD_ENUMNOVALUE
0x80131261
VLDTR_E_TD_ENUMVALSTATIC
0x80131262
VLDTR_E_TD_ENUMVALNOTSN
0x80131263
VLDTR_E_TD_ENUMFLDNOTST
0x80131264
VLDTR_E_TD_ENUMFLDNOTLIT
0x80131265
VLDTR_E_TD_ENUMNOLITFLDS
0x80131266
VLDTR_E_TD_ENUMFLDSIGMISMATCH
0x80131267
Enum's field signature does not match value__ signature.
VLDTR_E_TD_ENUMVALNOT1ST
0x80131268
Enum's value__ field is not first.
VLDTR_E_FD_NOTVALUERTSN
0x80131269
Field is RTSpecialName but name is not value__.
VLDTR_E_FD_VALUEPARNOTENUM
0x8013126a
Method is abstract and implemented.
VLDTR_E_FD_INSTINIFACE
0x8013126b
Method is abstract and pinvoke.
VLDTR_E_FD_NOTPUBINIFACE
0x8013126c
Method is abstract and not virtual.
VLDTR_E_FMD_GLOBALNOTPUBPRIVSC
0x8013126d
Method is not abstract and not implemented.
VLDTR_E_FMD_GLOBALNOTSTATIC
0x8013126e
Method is not abstract and not (non-zero RVA or PInvoke or runtime).
VLDTR_E_FD_GLOBALNORVA
0x8013126f
Method is PrivateScope and has RVA set to zero.
VLDTR_E_MD_CTORZERORVA
0x80131270
.ctor or .cctor has zero RVA.
VLDTR_E_FD_MARKEDNOMARSHAL
0x80131271
VLDTR_E_FD_MARSHALNOTMARKED
0x80131272
VLDTR_E_FD_MARKEDNODEFLT
0x80131273
VLDTR_E_FD_DEFLTNOTMARKED
0x80131274
VLDTR_E_FMD_MARKEDNOSECUR
0x80131275
VLDTR_E_FMD_SECURNOTMARKED
0x80131276
VLDTR_E_FMD_PINVOKENOTSTATIC
0x80131277
Field or method is PInvoke but is not marked Static.
VLDTR_E_FMD_MARKEDNOPINVOKE
0x80131278
Field or method is marked PInvoke but has no ImplMap.
VLDTR_E_FMD_PINVOKENOTMARKED
0x80131279
Field or method has ImplMap but is not marked PInvoke.
VLDTR_E_FMD_BADIMPLMAP
0x8013127a
Unrecognized Hash Alg ID (warning).
VLDTR_E_IMAP_BADMODREF
0x8013127b
Unrecognized Processor ID in Assembly(warning).
VLDTR_E_IMAP_BADMEMBER
0x8013127c
Unrecognized Processor ID in AssemblyRef(warning).
VLDTR_E_IMAP_BADIMPORTNAME
0x8013127d
Constant: parent token out of range.
VLDTR_E_IMAP_BADCALLCONV
0x8013127e
Invalid flags in Assembly.
VLDTR_E_FMD_BADACCESSFLAG
0x8013127f
There is TypeDef with same name as TypeRef (warning).
VLDTR_E_FD_INITONLYANDLITERAL
0x80131280
Field is InitOnly and Literal.
VLDTR_E_FD_LITERALNOTSTATIC
0x80131281
VLDTR_E_FMD_RTSNNOTSN
0x80131282
VLDTR_E_MD_ABSTPARNOTABST
0x80131283
VLDTR_E_MD_NOTSTATABSTININTF
0x80131284
VLDTR_E_MD_NOTPUBININTF
0x80131285
VLDTR_E_MD_CTORININTF
0x80131286
VLDTR_E_MD_GLOBALCTORCCTOR
0x80131287
global .ctor or .cctor.
VLDTR_E_MD_CTORSTATIC
0x80131288
static .ctor.
VLDTR_E_MD_CTORNOTSNRTSN
0x80131289
.ctor or .cctor not marked SpecialName or RTSpecialName.
VLDTR_E_MD_CTORVIRT
0x8013128a
MethodImpl has invalid MethodDeclaration token.
VLDTR_E_MD_CTORABST
0x8013128b
MethodImpl has invalid MethodBody token.
VLDTR_E_MD_CCTORNOTSTATIC
0x8013128c
MethodImpl has duplicate.
VLDTR_E_MD_ZERORVA
0x8013128d
Bad field parent.
VLDTR_E_MD_FINNOTVIRT
0x8013128e
Parameter out of sequence (warning).
VLDTR_E_MD_STATANDFINORVIRT
0x8013128f
Parameter's sequence number exceeds number of arguments.
VLDTR_E_MD_ABSTANDFINAL
0x80131290
Method is abstract and final.
VLDTR_E_MD_ABSTANDIMPL
0x80131291
VLDTR_E_MD_ABSTANDPINVOKE
0x80131292
VLDTR_E_MD_ABSTNOTVIRT
0x80131293
VLDTR_E_MD_NOTABSTNOTIMPL
0x80131294
VLDTR_E_MD_NOTABSTBADFLAGSRVA
0x80131295
VLDTR_E_MD_PRIVSCOPENORVA
0x80131296
VLDTR_E_MD_GLOBALABSTORVIRT
0x80131297
Global method is abstract or virtual.
VLDTR_E_SIG_LONGFORM
0x80131298
Signature uses long form.
VLDTR_E_MD_MULTIPLESEMANTICS
0x80131299
Method has multiple semantics (warning).
VLDTR_E_MD_INVALIDSEMANTICS
0x8013129a
Property marked HasDefault, has no const value.
VLDTR_E_MD_SEMANTICSNOTEXIST
0x8013129b
Property has const value, not marked HasDefault.
VLDTR_E_MI_DECLNOTVIRT
0x8013129c
Property has method that is neither a Setter nor a Getter.
VLDTR_E_FMD_GLOBALITEM
0x8013129d
Property has method with invalid token.
VLDTR_E_MD_MULTSEMANTICFLAGS
0x8013129e
Property has method from another class.
VLDTR_E_MD_NOSEMANTICFLAGS
0x8013129f
Const has non-null blob when it should not.
VLDTR_E_FD_FLDINIFACE
0x801312a0
Access to this method is denied.
VLDTR_E_AS_HASHALGID
0x801312a1
Field does not exist.
VLDTR_E_AS_PROCID
0x801312a2
Member does not exist.
VLDTR_E_AR_PROCID
0x801312a3
Method does not exist.
VLDTR_E_CN_PARENTRANGE
0x801312a4
Attempt to combine delegates that are not multicast.
VLDTR_E_AS_BADFLAGS
0x801312a5
Operation is not supported.
VLDTR_E_TR_HASTYPEDEF
0x801312a6
Arithmetic, casting or conversion operation overflowed or underflowed.
VLDTR_E_IFACE_BADIMPL
0x801312a7
An array has the wrong number of dimensions for a particular operation.
VLDTR_E_IFACE_BADIFACE
0x801312a8
This operation must be called from a synchronized block.
VLDTR_E_TD_SECURNOTMARKED
0x801312a9
Thread was interrupted from a waiting state.
VLDTR_E_TD_MARKEDNOSECUR
0x801312aa
A datatype misalignment was detected in a load or store instruction.
VLDTR_E_MD_CCTORHASARGS
0x801312ab
A managed code contract (ie, precondition, postcondition, invariant, or assert) failed.
VLDTR_E_CT_BADIMPL
0x801312ac
Access to this type is denied.
VLDTR_E_MI_ALIENBODY
0x801312ad
VLDTR_E_MD_CCTORCALLCONV
0x801312ae
VLDTR_E_MI_BADCLASS
0x801312af
VLDTR_E_MI_CLASSISINTF
0x801312b0
Thread is in an invalid state for this operation.
VLDTR_E_MI_BADDECL
0x801312b1
Thread is stopping.
VLDTR_E_MI_BADBODY
0x801312b2
Could not find or load a type.
VLDTR_E_MI_DUP
0x801312b3
Could not find the specified DllImport entrypoint.
VLDTR_E_FD_BADPARENT
0x801312b4
Could not find the specified DllImport Dll.
VLDTR_E_MD_PARAMOUTOFSEQ
0x801312b5
VLDTR_E_MD_PARASEQTOOBIG
0x801312b6
VLDTR_E_MD_PARMMARKEDNOMARSHAL
0x801312b7
An invalid __ComObject has been used.
VLDTR_E_MD_PARMMARSHALNOTMARKED
0x801312b8
Not a Number.
VLDTR_E_MD_PARMMARKEDNODEFLT
0x801312ba
VLDTR_E_MD_PARMDEFLTNOTMARKED
0x801312bb
VLDTR_E_PR_BADSCOPE
0x801312bc
VLDTR_E_PR_NONAME
0x801312bd
VLDTR_E_PR_NOSIG
0x801312be
VLDTR_E_PR_DUP
0x801312bf
VLDTR_E_PR_BADCALLINGCONV
0x801312c0
Thread has aborted.
VLDTR_E_PR_MARKEDNODEFLT
0x801312c1
OLE Variant has an invalid type.
VLDTR_E_PR_DEFLTNOTMARKED
0x801312c2
An expected resource in the assembly manifest was missing.
VLDTR_E_PR_BADSEMANTICS
0x801312c3
A mismatch has occurred between the runtime type of the array and the sub type recorded in the metadata.
VLDTR_E_PR_BADMETHOD
0x801312c4
Uncaught exception during type initialization.
VLDTR_E_PR_ALIENMETHOD
0x801312c5
Invalid marshaling directives.
VLDTR_E_CN_BLOBNOTNULL
0x801312c6
An expected satellite assembly containing the ultimate fallback resources for a given culture was not found or could not be loaded.
VLDTR_E_CN_BLOBNULL
0x801312c7
The format of one argument does not meet the contract of the method.
VLDTR_E_EV_BADSCOPE
0x801312c8
A mismatch has occurred between the runtime rank of the array and the rank recorded in the metadata.
VLDTR_E_EV_NONAME
0x801312ca
VLDTR_E_EV_DUP
0x801312cb
VLDTR_E_EV_BADEVTYPE
0x801312cc
VLDTR_E_EV_EVTYPENOTCLASS
0x801312cd
VLDTR_E_EV_BADSEMANTICS
0x801312ce
VLDTR_E_EV_BADMETHOD
0x801312cf
VLDTR_E_EV_ALIENMETHOD
0x801312d0
Devices not supported.
VLDTR_E_EV_NOADDON
0x801312d1
VLDTR_E_EV_NOREMOVEON
0x801312d2
VLDTR_E_CT_DUPTDNAME
0x801312d3
VLDTR_E_MAR_BADOFFSET
0x801312d4
VLDTR_E_DS_BADOWNER
0x801312d5
VLDTR_E_DS_BADFLAGS
0x801312d6
VLDTR_E_DS_NOBLOB
0x801312d7
VLDTR_E_MAR_BADIMPL
0x801312d8
VLDTR_E_MR_VARARGCALLINGCONV
0x801312da
VLDTR_E_MD_CTORNOTVOID
0x801312db
VLDTR_E_EV_FIRENOTVOID
0x801312dc
VLDTR_E_AS_BADLOCALE
0x801312dd
VLDTR_E_CN_PARENTTYPE
0x801312de
VLDTR_E_SIG_SENTINMETHODDEF
0x801312df
VLDTR_E_SIG_SENTMUSTVARARG
0x801312e0
VLDTR_E_SIG_MULTSENTINELS
0x801312e1
VLDTR_E_SIG_LASTSENTINEL
0x801312e2
VLDTR_E_SIG_MISSARG
0x801312e3
VLDTR_E_SIG_BYREFINFIELD
0x801312e4
VLDTR_E_MD_SYNCMETHODINVTYPE
0x801312e5
VLDTR_E_TD_NAMETOOLONG
0x801312e6
VLDTR_E_AS_PROCDUP
0x801312e7
VLDTR_E_ASOS_DUP
0x801312e8
VLDTR_E_MAR_BADFLAGS
0x801312e9
VLDTR_E_CT_NOTYPEDEFID
0x801312ea
VLDTR_E_FILE_BADFLAGS
0x801312eb
VLDTR_E_FILE_NULLHASH
0x801312ec
VLDTR_E_MOD_NONAME
0x801312ed
VLDTR_E_MOD_NAMEFULLQLFD
0x801312ee
VLDTR_E_TD_RTSPCLNOTSPCL
0x801312ef
VLDTR_E_TD_EXTENDSIFACE
0x801312f0
VLDTR_E_MD_CTORPINVOKE
0x801312f1
VLDTR_E_TD_SYSENUMNOTCLASS
0x801312f2
VLDTR_E_TD_SYSENUMNOTEXTVTYPE
0x801312f3
VLDTR_E_MI_SIGMISMATCH
0x801312f4
VLDTR_E_TD_ENUMHASMETHODS
0x801312f5
VLDTR_E_TD_ENUMIMPLIFACE
0x801312f6
VLDTR_E_TD_ENUMHASPROP
0x801312f7
VLDTR_E_TD_ENUMHASEVENT
0x801312f8
VLDTR_E_TD_BADMETHODLST
0x801312f9
VLDTR_E_TD_BADFIELDLST
0x801312fa
VLDTR_E_CN_BADTYPE
0x801312fb
VLDTR_E_TD_ENUMNOINSTFLD
0x801312fc
VLDTR_E_TD_ENUMMULINSTFLD
0x801312fd
VLDTR_E_INTERRUPTED
0x801312fe
VLDTR_E_NOTINIT
0x801312ff
CORDBG_E_UNRECOVERABLE_ERROR
0x80131300
Unrecoverable API error.
CORDBG_E_PROCESS_TERMINATED
0x80131301
Process was terminated.
CORDBG_E_PROCESS_NOT_SYNCHRONIZED
0x80131302
Process not synchronized.
CORDBG_E_CLASS_NOT_LOADED
0x80131303
A class is not loaded.
CORDBG_E_IL_VAR_NOT_AVAILABLE
0x80131304
An IL variable is not available at the current native IP.
CORDBG_E_BAD_REFERENCE_VALUE
0x80131305
A reference value was found to be bad during dereferencing.
CORDBG_E_FIELD_NOT_AVAILABLE
0x80131306
A field in a class is not available, because the runtime optimized it away.
CORDBG_E_NON_NATIVE_FRAME
0x80131307
'Native-frame-only' operation on non-native frame.
CORDBG_E_NONCONTINUABLE_EXCEPTION
0x80131308
Cannot Continue on non-continuable exception.
CORDBG_E_CODE_NOT_AVAILABLE
0x80131309
The code is currently unavailable.
CORDBG_E_FUNCTION_NOT_IL
0x8013130a
When doing Edit and Continue, some JITs do not allow increasing the maximum level to which exception handling can be nested.
CORDBG_E_CANT_SET_IP_INTO_FINALLY
0x8013130e
Process has been detached.
CORDBG_E_CANT_SET_IP_OUT_OF_FINALLY
0x8013130f
Not allowed to change the signature of an existing method.
CORDBG_E_CANT_SET_IP_INTO_CATCH
0x80131310
SetIP is not possible, because SetIP would move EIP from outside of an exception handling catch clause to a point inside of one.
CORDBG_E_SET_IP_NOT_ALLOWED_ON_NONLEAF_FRAME
0x80131311
SetIP cannot be done on any frame except the leaf frame.
CORDBG_E_SET_IP_IMPOSSIBLE
0x80131312
SetIP is not allowed.
CORDBG_E_FUNC_EVAL_BAD_START_POINT
0x80131313
Func eval cannot work. Bad starting point.
CORDBG_E_INVALID_OBJECT
0x80131314
This object value is no longer valid.
CORDBG_E_FUNC_EVAL_NOT_COMPLETE
0x80131315
CordbEval::GetResult called before func eval has finished.
CORDBG_E_INPROC_NOT_IMPL
0x80131318
The in-process version of the debugging API does not support this function.
CORDBG_E_STATIC_VAR_NOT_AVAILABLE
0x8013131a
Internal Runtime Error while doing Edit-and-Continue.
CORDBG_E_OBJECT_IS_NOT_COPYABLE_VALUE_CLASS
0x8013131b
The field was added via Edit and Continue after the class was loaded.
CORDBG_E_CANT_SETIP_INTO_OR_OUT_OF_FILTER
0x8013131c
Module not loaded.
CORDBG_E_CANT_CHANGE_JIT_SETTING_FOR_ZAP_MODULE
0x8013131d
Not allowed to change base class.
CORDBG_E_CANT_SET_IP_OUT_OF_FINALLY_ON_WIN64
0x8013131e
Cannot set a breakpoint here.
CORDBG_E_CANT_SET_IP_OUT_OF_CATCH_ON_WIN64
0x8013131f
Debugging is not possible due to an incompatibility within the CLR implementation.
CORDBG_E_REMOTE_CONNECTION_CONN_RESET
0x80131320
The remote device closed the connection.
CORDBG_E_REMOTE_CONNECTION_KEEP_ALIVE
0x80131321
The connection was closed due to a keep-alive failure.
CORDBG_E_REMOTE_CONNECTION_FATAL_ERROR
0x80131322
Generic error that the device connection has been broken with no chance for recovery.
CORDBG_E_CANT_SET_TO_JMC
0x80131323
Cannot use JMC on this code (likely wrong JIT settings).
CORDBG_E_NO_CONTEXT_FOR_INTERNAL_FRAME
0x80131325
Internal frame markers have no associated context.
CORDBG_E_NOT_CHILD_FRAME
0x80131326
The current frame is not a child frame.
CORDBG_E_NON_MATCHING_CONTEXT
0x80131327
The provided CONTEXT does not match the specified thread.
CORDBG_E_PAST_END_OF_STACK
0x80131328
The stackwalker is now past the end of stack. No information is available.
CORDBG_E_FUNC_EVAL_CANNOT_UPDATE_REGISTER_IN_NONLEAF_FRAME
0x80131329
Func eval cannot update a variable stored in a register on a non-leaf frame. The most likely cause is that such a variable is passed as a ref/out argument.
CORDBG_E_BAD_THREAD_STATE
0x8013132d
The Method has no associated IL.
CORDBG_E_DEBUGGER_ALREADY_ATTACHED
0x8013132e
The thread has never run managed code before.
CORDBG_E_SUPERFLOUS_CONTINUE
0x8013132f
The function may only be called during profiler initialization.
CORDBG_E_SET_VALUE_NOT_ALLOWED_ON_NONLEAF_FRAME
0x80131330
Cannot perfrom SetValue on non-leaf frames.
CORDBG_E_ENC_EH_MAX_NESTING_LEVEL_CANT_INCREASE
0x80131331
CORDBG_E_ENC_MODULE_NOT_ENC_ENABLED
0x80131332
Tried to do Edit and Continue on a module that was not started in Edit and Continue mode.
CORDBG_E_SET_IP_NOT_ALLOWED_ON_EXCEPTION
0x80131333
SetIP cannot be done on any exception.
CORDBG_E_VARIABLE_IS_ACTUALLY_LITERAL
0x80131334
The 'variable' does not exist because it is a literal optimized away by the compiler.
CORDBG_E_PROCESS_DETACHED
0x80131335
CORDBG_E_ENC_METHOD_SIG_CHANGED
0x80131336
CORDBG_E_ENC_METHOD_NO_LOCAL_SIG
0x80131337
Cannot get the local signature for the method.
CORDBG_E_ENC_CANT_ADD_FIELD_TO_VALUE_OR_LAYOUT_CLASS
0x80131338
Adding a field to a value or layout class is prohibited.
CORDBG_E_ENC_CANT_CHANGE_FIELD
0x80131339
Cannot change field after adding.
CORDBG_E_ENC_CANT_ADD_NON_PRIVATE_MEMBER
0x8013133a
CORDBG_E_FIELD_NOT_STATIC
0x8013133b
CORDBG_E_FIELD_NOT_INSTANCE
0x8013133c
CORDBG_E_ENC_ZAPPED_WITHOUT_ENC
0x8013133d
CORDBG_E_ENC_BAD_METHOD_INFO
0x8013133e
CORDBG_E_ENC_JIT_CANT_UPDATE
0x8013133f
CORDBG_E_ENC_MISSING_CLASS
0x80131340
An internal structure about the class is missing.
CORDBG_E_ENC_INTERNAL_ERROR
0x80131341
CORDBG_E_ENC_HANGING_FIELD
0x80131342
CORDBG_E_MODULE_NOT_LOADED
0x80131343
CORDBG_E_ENC_CANT_CHANGE_SUPERCLASS
0x80131344
CORDBG_E_UNABLE_TO_SET_BREAKPOINT
0x80131345
CORDBG_E_DEBUGGING_NOT_POSSIBLE
0x80131346
CORDBG_E_KERNEL_DEBUGGER_ENABLED
0x80131347
A kernel debugger is enabled on the system. User-mode debugging will trap to the kernel debugger.
CORDBG_E_KERNEL_DEBUGGER_PRESENT
0x80131348
A kernel debugger is present on the system. User-mode debugging will trap to the kernel debugger.
CORDBG_E_HELPER_THREAD_DEAD
0x80131349
The debugger's internal helper thread is dead.
CORDBG_E_INTERFACE_INHERITANCE_CANT_CHANGE
0x8013134a
CORDBG_E_INCOMPATIBLE_PROTOCOL
0x8013134b
CORDBG_E_TOO_MANY_PROCESSES
0x8013134c
CORDBG_E_INTEROP_NOT_SUPPORTED
0x8013134d
CORDBG_E_NO_REMAP_BREAKPIONT
0x8013134e
CORDBG_E_OBJECT_NEUTERED
0x8013134f
CORPROF_E_FUNCTION_NOT_COMPILED
0x80131350
Function not yet compiled.
CORPROF_E_DATAINCOMPLETE
0x80131351
The ID is not fully loaded/defined yet.
CORPROF_E_NOT_REJITABLE_METHODS
0x80131352
The Module is not configured for updateable methods.
CORPROF_E_CANNOT_UPDATE_METHOD
0x80131353
The Method could not be updated for re-JIT.
CORPROF_E_FUNCTION_NOT_IL
0x80131354
CORPROF_E_NOT_MANAGED_THREAD
0x80131355
CORPROF_E_CALL_ONLY_FROM_INIT
0x80131356
CORPROF_E_INPROC_NOT_ENABLED
0x80131357
In-process debugging must be enabled during initialization.
CORPROF_E_JITMAPS_NOT_ENABLED
0x80131358
Cannot get a JIT map becuase they are not enabled.
CORPROF_E_INPROC_ALREADY_BEGUN
0x80131359
BeginInprocDebugging already called.
CORPROF_E_INPROC_NOT_AVAILABLE
0x8013135a
CORPROF_E_NOT_YET_AVAILABLE
0x8013135b
CORPROF_E_TYPE_IS_PARAMETERIZED
0x8013135c
CORPROF_E_FUNCTION_IS_PARAMETERIZED
0x8013135d
CORPROF_E_STACKSNAPSHOT_INVALID_TGT_THREAD
0x8013135e
CORPROF_E_STACKSNAPSHOT_UNMANAGED_CTX
0x8013135f
CORPROF_E_STACKSNAPSHOT_UNSAFE
0x80131360
CORPROF_E_STACKSNAPSHOT_ABORTED
0x80131361
CORPROF_E_LITERALS_HAVE_NO_ADDRESS
0x80131362
CORPROF_E_UNSUPPORTED_CALL_SEQUENCE
0x80131363
CORPROF_E_ASYNCHRONOUS_UNSAFE
0x80131364
CORPROF_E_CLASSID_IS_ARRAY
0x80131365
CORPROF_E_CLASSID_IS_COMPOSITE
0x80131366
CORPROF_E_PROFILER_DETACHING
0x80131367
CORPROF_E_PROFILER_NOT_ATTACHABLE
0x80131368
CORPROF_E_UNRECOGNIZED_PIPE_MSG_FORMAT
0x80131369
CORPROF_E_PROFILER_ALREADY_ACTIVE
0x8013136a
CORPROF_E_PROFILEE_INCOMPATIBLE_WITH_TRIGGER
0x8013136b
CORPROF_E_IPC_FAILED
0x8013136c
CORPROF_E_PROFILEE_PROCESS_NOT_FOUND
0x8013136d
CORPROF_E_CALLBACK3_REQUIRED
0x8013136e
CORPROF_E_UNSUPPORTED_FOR_ATTACHING_PROFILER
0x8013136f
CORPROF_E_IRREVERSIBLE_INSTRUMENTATION_PRESENT
0x80131370
CORPROF_E_RUNTIME_UNINITIALIZED
0x80131371
CORPROF_E_IMMUTABLE_FLAGS_SET
0x80131372
CORPROF_E_PROFILER_NOT_YET_INITIALIZED
0x80131373
CORPROF_E_INCONSISTENT_WITH_FLAGS
0x80131374
CORPROF_E_PROFILER_CANCEL_ACTIVATION
0x80131375
CORPROF_E_CONCURRENT_GC_NOT_PROFILABLE
0x80131376
CORPROF_E_INCONSISTENT_FLAGS_WITH_HOST_PROTECTION_SETTING
0x80131377
SECURITY_E_XML_TO_ASN_ENCODING
0x80131400
Failed to convert XML to ASN.
SECURITY_E_INCOMPATIBLE_SHARE
0x80131401
Loading this assembly would produce a different grant set from other instances.
SECURITY_E_UNVERIFIABLE
0x80131402
Unverifiable code failed policy check.
SECURITY_E_INCOMPATIBLE_EVIDENCE
0x80131403
Assembly already loaded without additional security evidence.
CORSEC_E_DECODE_SET
0x80131410
CORSEC_E_ENCODE_SET
0x80131411
CORSEC_E_UNSUPPORTED_FORMAT
0x80131412
SN_CRYPTOAPI_CALL_FAILED
0x80131413
CORSEC_E_CRYPTOAPI_CALL_FAILED
SN_NO_SUITABLE_CSP
0x80131414
CORSEC_E_NO_SUITABLE_CSP
CORSEC_E_INVALID_ATTR
0x80131415
CORSEC_E_POLICY_EXCEPTION
0x80131416
CORSEC_E_MIN_GRANT_FAIL
0x80131417
CORSEC_E_NO_EXEC_PERM
0x80131418
CORSEC_E_XMLSYNTAX
0x80131419
CORSEC_E_INVALID_STRONGNAME
0x8013141a
CORSEC_E_MISSING_STRONGNAME
0x8013141b
CORSEC_E_CONTAINER_NOT_FOUND
0x8013141c
CORSEC_E_INVALID_IMAGE_FORMAT
0x8013141d
CORSEC_E_INVALID_PUBLICKEY
0x8013141e
CORSEC_E_SIGNATURE_MISMATCH
0x80131420
SN_E_PUBLICKEY_MISMATCH
0x80131421
CORSEC_E_CRYPTO
0x80131430
CORSEC_E_CRYPTO_UNEX_OPER
0x80131431
CORSECATTR_E_BAD_ATTRIBUTE
0x8013143a
CORSECATTR_E_MISSING_CONSTRUCTOR
0x8013143b
CORSECATTR_E_FAILED_TO_CREATE_PERM
0x8013143c
CORSECATTR_E_BAD_ACTION_ASM
0x8013143d
CORSECATTR_E_BAD_ACTION_OTHER
0x8013143e
CORSECATTR_E_BAD_PARENT
0x8013143f
CORSECATTR_E_TRUNCATED
0x80131440
CORSECATTR_E_BAD_VERSION
0x80131441
CORSECATTR_E_BAD_ACTION
0x80131442
CORSECATTR_E_NO_SELF_REF
0x80131443
CORSECATTR_E_BAD_NONCAS
0x80131444
CORSECATTR_E_ASSEMBLY_LOAD_FAILED
0x80131445
CORSECATTR_E_ASSEMBLY_LOAD_FAILED_EX
0x80131446
CORSECATTR_E_TYPE_LOAD_FAILED
0x80131447
CORSECATTR_E_TYPE_LOAD_FAILED_EX
0x80131448
CORSECATTR_E_ABSTRACT
0x80131449
CA type is abstract.
CORSECATTR_E_UNSUPPORTED_TYPE
0x8013144a
CORSECATTR_E_UNSUPPORTED_ENUM_TYPE
0x8013144b
CORSECATTR_E_NO_FIELD
0x8013144c
CORSECATTR_E_NO_PROPERTY
0x8013144d
CORSECATTR_E_EXCEPTION
0x8013144e
CORSECATTR_E_EXCEPTION_HR
0x8013144f
ISS_E_ISOSTORE_START
0x80131450
IsolatedStorage operation failed.
ISS_E_ISOSTORE
ISS_E_OPEN_STORE_FILE
0x80131460
Unable to open the store.
ISS_E_OPEN_FILE_MAPPING
0x80131461
ISS_E_MAP_VIEW_OF_FILE
0x80131462
ISS_E_GET_FILE_SIZE
0x80131463
ISS_E_CREATE_MUTEX
0x80131464
ISS_E_LOCK_FAILED
0x80131465
ISS_E_FILE_WRITE
0x80131466
ISS_E_SET_FILE_POINTER
0x80131467
Cannot set file pointer.
ISS_E_CREATE_DIR
0x80131468
Unable to create the store directory.
ISS_E_STORE_NOT_OPEN
0x80131469
Store must be open for this operation.
ISS_E_CORRUPTED_STORE_FILE
0x80131480
Store file is corrupt.
ISS_E_STORE_VERSION
0x80131481
Store version is not supported.
ISS_E_FILE_NOT_MAPPED
0x80131482
Store file is not mapped.
ISS_E_BLOCK_SIZE_TOO_SMALL
0x80131483
Block size is too small.
ISS_E_ALLOC_TOO_LARGE
0x80131484
Allocation size is too large.
ISS_E_USAGE_WILL_EXCEED_QUOTA
0x80131485
Allowed quota is fully used.
ISS_E_TABLE_ROW_NOT_FOUND
0x80131486
Row not found.
ISS_E_DEPRECATE
0x801314a0
ISS_E_CALLER
0x801314a1
ISS_E_PATH_LENGTH
0x801314a2
ISS_E_MACHINE
0x801314a3
ISS_E_MACHINE_DACL
0x801314a4
ISS_E_ISOSTORE_END
0x801314ff
COR_E_EXCEPTION
0x80131500
General Exception
COR_E_SYSTEM
0x80131501
System.Exception
COR_E_ARGUMENTOUTOFRANGE
0x80131502
An argument was out of its legal range.
COR_E_ARRAYTYPEMISMATCH
0x80131503
Attempted to store an object of the wrong type in an array.
COR_E_CONTEXTMARSHAL
0x80131504
Attempted to marshal an object across a context boundary.
COR_E_TIMEOUT
0x80131505
Operation timed out.
COR_E_EXECUTIONENGINE
0x80131506
Internal CLR error.
COR_E_FIELDACCESS
0x80131507
Access to this field is denied.
COR_E_INDEXOUTOFRANGE
0x80131508
Array subscript out of range.
COR_E_INVALIDOPERATION
0x80131509
An operation is not legal in the current state.
COR_E_SECURITY
0x8013150a
COR_E_REMOTING
0x8013150b
COR_E_SERIALIZATION
0x8013150c
COR_E_VERIFICATION
0x8013150d
COR_E_SERVER
0x8013150e
COR_E_SERVICEDCOMPONENT
0x8013150f
COR_E_METHODACCESS
0x80131510
COR_E_MISSINGFIELD
0x80131511
COR_E_MISSINGMEMBER
0x80131512
COR_E_MISSINGMETHOD
0x80131513
COR_E_MULTICASTNOTSUPPORTED
0x80131514
COR_E_NOTSUPPORTED
0x80131515
COR_E_OVERFLOW
0x80131516
COR_E_RANK
0x80131517
COR_E_SYNCHRONIZATIONLOCK
0x80131518
COR_E_THREADINTERRUPTED
0x80131519
COR_E_MEMBERACCESS
0x8013151a
COR_E_THREADSTATE
0x80131520
COR_E_THREADSTOP
0x80131521
COR_E_TYPELOAD
0x80131522
COR_E_ENTRYPOINTNOTFOUND
0x80131523
COR_E_DLLNOTFOUND
0x80131524
COR_E_THREADSTART
0x80131525
COR_E_INVALIDCOMOBJECT
0x80131527
COR_E_NOTFINITENUMBER
0x80131528
COR_E_DUPLICATEWAITOBJECT
0x80131529
An object appears more than once in the wait objects array.
COR_E_SEMAPHOREFULL
0x8013152b
COR_E_WAITHANDLECANNOTBEOPENED
0x8013152c
COR_E_ABANDONEDMUTEX
0x8013152d
COR_E_THREADABORTED
0x80131530
COR_E_INVALIDOLEVARIANTTYPE
0x80131531
COR_E_MISSINGMANIFESTRESOURCE
0x80131532
COR_E_SAFEARRAYTYPEMISMATCH
0x80131533
COR_E_TYPEINITIALIZATION
0x80131534
COR_E_MARSHALDIRECTIVE
0x80131535
COR_E_MISSINGSATELLITEASSEMBLY
0x80131536
COR_E_FORMAT
0x80131537
COR_E_SAFEARRAYRANKMISMATCH
0x80131538
COR_E_PLATFORMNOTSUPPORTED
0x80131539
Operation is not supported on this platform.
COR_E_INVALIDPROGRAM
0x8013153a
COR_E_OPERATIONCANCELED
0x8013153b
COR_E_INSUFFICIENTMEMORY
0x8013153d
COR_E_RUNTIMEWRAPPED
0x8013153e
COR_E_DEVICESNOTSUPPORTED
0x80131540
COR_E_DATAMISALIGNED
0x80131541
COR_E_CODECONTRACTFAILED
0x80131542
COR_E_TYPEACCESS
0x80131543
COR_E_KEYNOTFOUND
0x80131577
The given key was not present in the dictionary.
COR_E_INSUFFICIENTEXECUTIONSTACK
0x80131578
Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.
COR_E_APPLICATION
0x80131600
Application exception
COR_E_INVALIDFILTERCRITERIA
0x80131601
The given filter criteria does not match the filter content.
COR_E_REFLECTIONTYPELOAD
0x80131602
Could not find or load a specific class that was requested through Reflection.
COR_E_TARGET
0x80131603
Attempt to invoke non-static method with a null Object.
COR_E_TARGETINVOCATION
0x80131604
Uncaught exception thrown by method called through Reflection.
COR_E_CUSTOMATTRIBUTEFORMAT
0x80131605
Custom attribute has invalid format.
COR_E_IO
0x80131620
Error during managed I/O.
COR_E_FILELOAD
0x80131621
Could not find or load a specific file.
COR_E_OBJECTDISPOSED
0x80131622
The object has already been disposed.
COR_E_FAILFAST
0x80131623
Runtime operation halted by call to System.Environment.FailFast().
COR_E_HOSTPROTECTION
0x80131640
The host has forbidden this operation.
COR_E_ILLEGAL_REENTRANCY
0x80131641
Attempted to call into managed code when executing inside a low level extensibility point.
CLR_E_SHIM_RUNTIMELOAD
0x80131700
Failed to load the runtime.
CLR_E_SHIM_RUNTIMEEXPORT
0x80131701
Failed to find a required export in the runtime.
CLR_E_SHIM_INSTALLROOT
0x80131702
Install root is not defined.
CLR_E_SHIM_INSTALLCOMP
0x80131703
Expected component of the runtime is not available.
CLR_E_SHIM_LEGACYRUNTIMEALREADYBOUND
0x80131704
A runtime has already been bound for legacy activation policy use.
CLR_E_SHIM_SHUTDOWNINPROGRESS
0x80131705
The operation is invalid because the process may be shutting down.
VER_E_HRESULT
0x80131801
VER_E_OFFSET
0x80131802
VER_E_OPCODE
0x80131803
VER_E_OPERAND
0x80131804
VER_E_TOKEN
0x80131805
VER_E_EXCEPT
0x80131806
VER_E_STACK_SLOT
0x80131807
VER_E_LOC
0x80131808
VER_E_ARG
0x80131809
VER_E_FOUND
0x8013180a
Filter contains handler.
VER_E_EXPECTED
0x8013180b
Nested filters.
VER_E_LOC_BYNAME
0x8013180c
filter >= code size
VER_E_UNKNOWN_OPCODE
0x80131810
Unknown opcode.
VER_E_SIG_CALLCONV
0x80131811
Unknown calling convention.
VER_E_SIG_ELEMTYPE
0x80131812
Unknown ELEMENT_TYPE.
VER_E_RET_SIG
0x80131814
[return sig]
VER_E_FIELD_SIG
0x80131815
[field sig]
VER_E_INTERNAL
0x80131818
Internal error.
VER_E_STACK_TOO_LARGE
0x80131819
Stack is too large.
VER_E_ARRAY_NAME_LONG
0x8013181a
Branch out of exception handler block.
VER_E_FALLTHRU
0x80131820
fall through end of the method without returning
VER_E_TRY_GTEQ_END
0x80131821
try start >= try end
VER_E_TRYEND_GT_CS
0x80131822
try end > code size
VER_E_HND_GTEQ_END
0x80131823
handler start >= handler end
VER_E_HNDEND_GT_CS
0x80131824
handler end > code size
VER_E_FLT_GTEQ_CS
0x80131825
VER_E_TRY_START
0x80131826
Try starts in the middle of an instruction.
VER_E_HND_START
0x80131827
Handler starts in the middle of an instruction.
VER_E_FLT_START
0x80131828
VER_E_TRY_OVERLAP
0x80131829
Try block overlap with another block.
VER_E_TRY_EQ_HND_FIL
0x8013182a
Branch back when this is uninitialized.
VER_E_TRY_SHARE_FIN_FAL
0x8013182b
ldftn and ldvirtftn not allowed on .ctor.
VER_E_HND_OVERLAP
0x8013182c
Non-compatible types on the stack.
VER_E_HND_EQ
0x8013182d
Unexpected type on the stack.
VER_E_FIL_OVERLAP
0x8013182e
Missing stack slot for exception.
VER_E_FIL_EQ
0x8013182f
Stack overflow.
VER_E_FIL_CONT_TRY
0x80131830
Filter contains try.
VER_E_FIL_CONT_HND
0x80131831
VER_E_FIL_CONT_FIL
0x80131832
VER_E_FIL_GTEQ_CS
0x80131833
VER_E_FIL_START
0x80131834
Filter starts in the middle of an instruction.
VER_E_FALLTHRU_EXCEP
0x80131835
fallthru the end of an exception block
VER_E_FALLTHRU_INTO_HND
0x80131836
fallthru into an exception handler
VER_E_FALLTHRU_INTO_FIL
0x80131837
fallthru into an exception filter
VER_E_LEAVE
0x80131838
Leave from outside a try or catch block.
VER_E_RETHROW
0x80131839
Rethrow from outside a catch handler.
VER_E_ENDFINALLY
0x8013183a
Expected pointer to function on the stack.
VER_E_ENDFILTER
0x8013183b
Expected single dimension array on the stack.
VER_E_ENDFILTER_MISSING
0x8013183c
Expected value type instance on the stack.
VER_E_BR_INTO_TRY
0x8013183d
Expected address of value type on the stack.
VER_E_BR_INTO_HND
0x8013183e
Unexpected value type instance on the stack.
VER_E_BR_INTO_FIL
0x8013183f
Local variable is unusable at this point.
VER_E_BR_OUTOF_TRY
0x80131840
Branch out of try block.
VER_E_BR_OUTOF_HND
0x80131841
VER_E_BR_OUTOF_FIL
0x80131842
Branch out of exception filter block.
VER_E_BR_OUTOF_FIN
0x80131843
Branch out of finally block.
VER_E_RET_FROM_TRY
0x80131844
Return out of try block.
VER_E_RET_FROM_HND
0x80131845
Return out of exception handler block.
VER_E_RET_FROM_FIL
0x80131846
Return out of exception filter block.
VER_E_BAD_JMP_TARGET
0x80131847
jmp / exception into the middle of an instruction.
VER_E_PATH_LOC
0x80131848
Non-compatible types depending on path.
VER_E_PATH_THIS
0x80131849
Init state for this differs depending on path.
VER_E_PATH_STACK
0x8013184a
Stack must be empty on return from a void function.
VER_E_PATH_STACK_DEPTH
0x8013184b
Return value missing on the stack.
VER_E_THIS
0x8013184c
Stack must contain only the return value.
VER_E_THIS_UNINIT_EXCEP
0x8013184d
Return uninitialized data.
VER_E_THIS_UNINIT_STORE
0x8013184e
Illegal array access.
VER_E_THIS_UNINIT_RET
0x8013184f
Store non Object type into Object array.
VER_E_THIS_UNINIT_V_RET
0x80131850
Return from .ctor before all fields are initialized.
VER_E_THIS_UNINIT_BR
0x80131851
VER_E_LDFTN_CTOR
0x80131852
VER_E_STACK_NOT_EQ
0x80131853
VER_E_STACK_UNEXPECTED
0x80131854
VER_E_STACK_EXCEPTION
0x80131855
VER_E_STACK_OVERFLOW
0x80131856
VER_E_STACK_UNDERFLOW
0x80131857
Stack underflow.
VER_E_STACK_EMPTY
0x80131858
Stack empty.
VER_E_STACK_UNINIT
0x80131859
Uninitialized item on stack.
VER_E_STACK_I_I4_I8
0x8013185a
Address of not allowed for this item.
VER_E_STACK_R_R4_R8
0x8013185b
Address of not allowed for ByRef.
VER_E_STACK_NO_R_I8
0x8013185c
Address of not allowed for literal field.
VER_E_STACK_NUMERIC
0x8013185d
Cannot change initonly field outside its .ctor.
VER_E_STACK_OBJREF
0x8013185e
Cannot throw this object.
VER_E_STACK_P_OBJREF
0x8013185f
Callvirt on a value type method.
VER_E_STACK_BYREF
0x80131860
Expected ByRef on the stack.
VER_E_STACK_METHOD
0x80131861
VER_E_STACK_ARRAY_SD
0x80131862
VER_E_STACK_VALCLASS
0x80131863
VER_E_STACK_P_VALCLASS
0x80131864
VER_E_STACK_NO_VALCLASS
0x80131865
VER_E_LOC_DEAD
0x80131866
VER_E_LOC_NUM
0x80131867
Unrecognized local variable number.
VER_E_ARG_NUM
0x80131868
Unrecognized argument number.
VER_E_TOKEN_RESOLVE
0x80131869
Unable to resolve token.
VER_E_TOKEN_TYPE
0x8013186a
ELEMENT_TYPE_PTR cannot be verified.
VER_E_TOKEN_TYPE_MEMBER
0x8013186b
Unexpected vararg.
VER_E_TOKEN_TYPE_FIELD
0x8013186c
Unexpected Void.
VER_E_TOKEN_TYPE_SIG
0x8013186d
ByRef of ByRef
VER_E_UNVERIFIABLE
0x8013186e
VER_E_LDSTR_OPERAND
0x8013186f
Code size is zero.
VER_E_RET_PTR_TO_STACK
0x80131870
Return type is ByRef, TypedReference, ArgHandle, or ArgIterator.
VER_E_RET_VOID
0x80131871
VER_E_RET_MISSING
0x80131872
VER_E_RET_EMPTY
0x80131873
VER_E_RET_UNINIT
0x80131874
VER_E_ARRAY_ACCESS
0x80131875
VER_E_ARRAY_V_STORE
0x80131876
VER_E_ARRAY_SD
0x80131877
Expected single dimension array.
VER_E_ARRAY_SD_PTR
0x80131878
Expected single dimension array of pointer types.
VER_E_ARRAY_FIELD
0x80131879
Array field access is denied.
VER_E_ARGLIST
0x8013187a
Lexical nesting.
VER_E_VALCLASS
0x8013187b
Missing ldsfld, stsfld, ldind, stind, ldfld, stfld, ldobj, stobj, initblk or cpblk.
VER_E_METHOD_ACCESS
0x8013187c
Missing ldind, stind, ldfld, stfld, ldobj, stobj, initblk or cpblk.
VER_E_FIELD_ACCESS
0x8013187d
Innermost exception blocks should be declared first.
VER_E_DEAD
0x8013187e
Calli not allowed on virtual methods.
VER_E_FIELD_STATIC
0x8013187f
Call not allowed on abstract methods.
VER_E_FIELD_NO_STATIC
0x80131880
Expected non-static field.
VER_E_ADDR
0x80131881
VER_E_ADDR_BYREF
0x80131882
VER_E_ADDR_LITERAL
0x80131883
VER_E_INITONLY
0x80131884
VER_E_THROW
0x80131885
VER_E_CALLVIRT_VALCLASS
0x80131886
VER_E_CALL_SIG
0x80131887
Call signature mismatch.
VER_E_CALL_STATIC
0x80131888
Static function expected.
VER_E_CTOR
0x80131889
.ctor expected.
VER_E_CTOR_VIRT
0x8013188a
Box operation on TypedReference, ArgHandle, or ArgIterator.
VER_E_CTOR_OR_SUPER
0x8013188b
ByRef of TypedReference, ArgHandle, or ArgIterator.
VER_E_CTOR_MUL_INIT
0x8013188c
Array of TypedReference, ArgHandle, or ArgIterator.
VER_E_SIG
0x8013188d
Stack not empty when leaving an exception filter.
VER_E_SIG_ARRAY
0x8013188e
Unrecognized delegate .ctor signature; expected I.
VER_E_SIG_ARRAY_PTR
0x8013188f
Unrecognized delegate .ctor signature; expected Object.
VER_E_SIG_ARRAY_BYREF
0x80131890
Array of ELEMENT_TYPE_BYREF or ELEMENT_TYPE_TYPEDBYREF.
VER_E_SIG_ELEM_PTR
0x80131891
VER_E_SIG_VARARG
0x80131892
VER_E_SIG_VOID
0x80131893
VER_E_SIG_BYREF_BYREF
0x80131894
VER_E_CODE_SIZE_ZERO
0x80131896
VER_E_BAD_VARARG
0x80131897
Unrecognized use of vararg.
VER_E_TAIL_CALL
0x80131898
Missing call, callvirt or calli.
VER_E_TAIL_BYREF
0x80131899
Cannot pass ByRef to a tail call.
VER_E_TAIL_RET
0x8013189a
Expected address of value type, ObjRef type or variable type on the stack.
VER_E_TAIL_RET_VOID
0x8013189b
Unrecognized type parameter of enclosing class.
VER_E_TAIL_RET_TYPE
0x8013189c
Unrecognized type parameter of enclosing method.
VER_E_TAIL_STACK_EMPTY
0x8013189d
Unrecognized type argument of referenced class instantiation.
VER_E_METHOD_END
0x8013189e
Unrecognized type argument of referenced method instantiation.
VER_E_BAD_BRANCH
0x8013189f
Cannot resolve generic type.
VER_E_FIN_OVERLAP
0x801318a0
Invalid field token in FieldRVA record.
VER_E_LEXICAL_NESTING
0x801318a1
Duplicate RVA in FieldRVA record.
VER_E_VOLATILE
0x801318a2
Duplicate field in FieldRVA record.
VER_E_UNALIGNED
0x801318a3
Bad token as entry point in CLR header.
VER_E_INNERMOST_FIRST
0x801318a4
Entry point in CLR header is a token of instance method.
VER_E_CALLI_VIRTUAL
0x801318a5
Enum has non-integral underlying type.
VER_E_CALL_ABSTRACT
0x801318a6
Method has bogus RVA.
VER_E_STACK_UNEXP_ARRAY
0x801318a7
Literal field has no const value.
VER_E_NOT_IN_GC_HEAP
0x801318a8
Class implementing an interface does not implement one of methods.
VER_E_TRY_N_EMPTY_STACK
0x801318a9
CA has invalid owner.
VER_E_DLGT_CTOR
0x801318aa
Method signature is generic but is missing its arity.
VER_E_DLGT_BB
0x801318ab
Method signature is generic but its arity is zero.
VER_E_DLGT_PATTERN
0x801318ac
Signature has generic type instantiated at arity 0.
VER_E_DLGT_LDFTN
0x801318ad
MethodSpec signature has arity 0.
VER_E_FTN_ABSTRACT
0x801318ae
MethodDef signature has arity n but owns m GenericParams.
VER_E_SIG_C_VC
0x801318af
Entry point in CLR header is the token for a method in a generic type.
VER_E_SIG_VC_C
0x801318b0
Method has invalid header.
VER_E_BOX_PTR_TO_STACK
0x801318b1
Entry point has more than one argument.
VER_E_SIG_BYREF_TB_AH
0x801318b2
Entry point has bad return type.
VER_E_SIG_ARRAY_TB_AH
0x801318b3
Entry point has bad argument.
VER_E_ENDFILTER_STACK
0x801318b4
Illegal 'void' in signature.
VER_E_DLGT_SIG_I
0x801318b5
Multiple implementation of method.
VER_E_DLGT_SIG_O
0x801318b6
GenericParam name is NULL.
VER_E_RA_PTR_TO_STACK
0x801318b7
GenericParam has nil owner.
VER_E_CATCH_VALUE_TYPE
0x801318b8
GenericParam has duplicate by owner and name.
VER_E_CATCH_BYREF
0x801318b9
GenericParam has duplicate by owner and number.
VER_E_FIL_PRECEED_HND
0x801318ba
Warning: Class does not implement interface method in this module.
VER_E_LDVIRTFTN_STATIC
0x801318bb
VER_E_CALLVIRT_STATIC
0x801318bc
VER_E_INITLOCALS
0x801318bd
VER_E_BR_TO_EXCEPTION
0x801318be
VER_E_CALL_CTOR
0x801318bf
VER_E_VALCLASS_OBJREF_VAR
0x801318c0
GenericParamConstraint has nil owner.
VER_E_STACK_P_VALCLASS_OBJREF_VAR
0x801318c1
GenericParamConstraint has duplicate by owner and constraint.
VER_E_SIG_VAR_PARAM
0x801318c2
GenericParamConstraint is non-contiguous with preceeding constraints for same owner.
VER_E_SIG_MVAR_PARAM
0x801318c3
MethodSpec has nil method.
VER_E_SIG_VAR_ARG
0x801318c4
MethodSpec has duplicate based on method and instantiation.
VER_E_SIG_MVAR_ARG
0x801318c5
MethodSpec signature has invalid calling convention.
VER_E_SIG_GENERICINST
0x801318c6
MethodSpec signature is missing arity specification.
VER_E_SIG_METHOD_INST
0x801318c7
MethodSpec signature is missing type argument.
VER_E_SIG_METHOD_PARENT_INST
0x801318c8
MethodSpec arity of generic method and instantiation do not match.
VER_E_SIG_FIELD_PARENT_INST
0x801318c9
MethodSpec method is not generic.
VER_E_CALLCONV_NOT_GENERICINST
0x801318ca
VER_E_TOKEN_BAD_METHOD_SPEC
0x801318cb
VER_E_BAD_READONLY_PREFIX
0x801318cc
VER_E_BAD_CONSTRAINED_PREFIX
0x801318cd
VER_E_CIRCULAR_VAR_CONSTRAINTS
0x801318ce
VER_E_CIRCULAR_MVAR_CONSTRAINTS
0x801318cf
VER_E_UNSATISFIED_METHOD_INST
0x801318d0
Entry point in CLR header is the token for a generic method.
VER_E_UNSATISFIED_METHOD_PARENT_INST
0x801318d1
VER_E_UNSATISFIED_FIELD_PARENT_INST
0x801318d2
VER_E_UNSATISFIED_BOX_OPERAND
0x801318d3
VER_E_CONSTRAINED_CALL_WITH_NON_BYREF_THIS
0x801318d4
VER_E_CONSTRAINED_OF_NON_VARIABLE_TYPE
0x801318d5
VER_E_READONLY_UNEXPECTED_CALLEE
0x801318d6
VER_E_READONLY_ILLEGAL_WRITE
0x801318d7
MethodImpl overrides non-generic method with generic method.
VER_E_READONLY_IN_MKREFANY
0x801318d8
VER_E_UNALIGNED_ALIGNMENT
0x801318d9
MethodImpl overrides generic method of arity n with generic method of arity m.
VER_E_TAILCALL_INSIDE_EH
0x801318da
VER_E_BACKWARD_BRANCH
0x801318db
VER_E_CALL_TO_VTYPE_BASE
0x801318dc
VER_E_NEWOBJ_OF_ABSTRACT_CLASS
0x801318dd
VER_E_UNMANAGED_POINTER
0x801318de
VER_E_LDFTN_NON_FINAL_VIRTUAL
0x801318df
VER_E_FIELD_OVERLAP
0x801318e0
Signature has token following ELEMENT_TYPE_CLASS (_VALUETYPE) that is not a TypeDef or TypeRef.
VER_E_THIS_MISMATCH
0x801318e1
VER_E_STACK_I_I4
0x801318e2
VER_E_BAD_PE
0x801318f0
VER_E_BAD_MD
0x801318f1
VER_E_BAD_APPDOMAIN
0x801318f2
VER_E_TYPELOAD
0x801318f3
VER_E_PE_LOAD
0x801318f4
VER_E_WRITE_RVA_STATIC
0x801318f5
COR_E_SqlException
0x80131904
COR_E_Data
0x80131920
COR_E_DataDeletedRowInaccessible
0x80131921
COR_E_DataDuplicateName
0x80131922
COR_E_DataInRowChangingEvent
0x80131923
COR_E_DataInvalidConstraint
0x80131924
COR_E_DataMissingPrimaryKey
0x80131925
COR_E_DataNoNullAllowed
0x80131926
COR_E_DataReadOnly
0x80131927
COR_E_DataRowNotInTable
0x80131928
COR_E_DataVersionNotFound
0x80131929
COR_E_DataConstraint
0x8013192a
COR_E_StrongTyping
0x8013192b
COR_E_SqlType
0x80131930
COR_E_SqlNullValue
0x80131931
COR_E_SqlTruncate
0x80131932
COR_E_AdapterMapping
0x80131933
COR_E_DataAdapter
0x80131934
COR_E_DBConcurrency
0x80131935
COR_E_OperationAborted
0x80131936
COR_E_InvalidUdt
0x80131937
COR_E_OdbcException
COR_E_OracleException
0x80131938
COR_E_Xml
0x80131940
COR_E_XmlSchema
0x80131941
COR_E_XmlXslt
0x80131942
COR_E_XmlXPath
0x80131943
COR_E_XmlQuery
0x80131944
VLDTR_E_IFACE_NOTIFACE
0x80131b00
VLDTR_E_FD_RVAHASNORVA
0x80131b01
VLDTR_E_FD_RVAHASZERORVA
0x80131b02
VLDTR_E_MD_RVAANDIMPLMAP
0x80131b03
VLDTR_E_TD_EXTRAFLAGS
0x80131b04
VLDTR_E_TD_EXTENDSITSELF
0x80131b05
VLDTR_E_TD_SYSVTNOTEXTOBJ
0x80131b06
VLDTR_E_TD_EXTTYPESPEC
0x80131b07
VLDTR_E_TD_VTNOSIZE
0x80131b09
VLDTR_E_TD_IFACESEALED
0x80131b0a
VLDTR_E_NC_BADNESTED
0x80131b0b
VLDTR_E_NC_BADENCLOSER
0x80131b0c
VLDTR_E_NC_DUP
0x80131b0d
VLDTR_E_NC_DUPENCLOSER
0x80131b0e
VLDTR_E_FRVA_ZERORVA
0x80131b0f
VLDTR_E_FRVA_BADFIELD
0x80131b10
VLDTR_E_FRVA_DUPRVA
0x80131b11
VLDTR_E_FRVA_DUPFIELD
0x80131b12
VLDTR_E_EP_BADTOKEN
0x80131b13
VLDTR_E_EP_INSTANCE
0x80131b14
VLDTR_E_TD_ENUMFLDBADTYPE
0x80131b15
VLDTR_E_MD_BADRVA
0x80131b16
VLDTR_E_FD_LITERALNODEFAULT
0x80131b17
VLDTR_E_IFACE_METHNOTIMPL
0x80131b18
VLDTR_E_CA_BADPARENT
0x80131b19
VLDTR_E_CA_BADTYPE
0x80131b1a
VLDTR_E_CA_NOTCTOR
0x80131b1b
VLDTR_E_CA_BADSIG
0x80131b1c
VLDTR_E_CA_NOSIG
0x80131b1d
VLDTR_E_CA_BADPROLOG
0x80131b1e
VLDTR_E_MD_BADLOCALSIGTOK
0x80131b1f
VLDTR_E_MD_BADHEADER
0x80131b20
VLDTR_E_EP_TOOMANYARGS
0x80131b21
VLDTR_E_EP_BADRET
0x80131b22
VLDTR_E_EP_BADARG
0x80131b23
VLDTR_E_SIG_BADVOID
0x80131b24
VLDTR_E_IFACE_METHMULTIMPL
0x80131b25
VLDTR_E_GP_NAMENULL
0x80131b26
VLDTR_E_GP_OWNERNIL
0x80131b27
VLDTR_E_GP_DUPNAME
0x80131b28
VLDTR_E_GP_DUPNUMBER
0x80131b29
VLDTR_E_GP_NONSEQ_BY_OWNER
0x80131b2a
VLDTR_E_GP_NONSEQ_BY_NUMBER
0x80131b2b
VLDTR_E_GP_UNEXPECTED_OWNER_FOR_VARIANT_VAR
0x80131b2c
VLDTR_E_GP_ILLEGAL_VARIANT_MVAR
0x80131b2d
VLDTR_E_GP_ILLEGAL_VARIANCE_FLAGS
0x80131b2e
VLDTR_E_GP_REFANDVALUETYPE
0x80131b2f
VLDTR_E_GPC_OWNERNIL
0x80131b30
VLDTR_E_GPC_DUP
0x80131b31
VLDTR_E_GPC_NONCONTIGUOUS
0x80131b32
VLDTR_E_MS_METHODNIL
0x80131b33
VLDTR_E_MS_DUP
0x80131b34
VLDTR_E_MS_BADCALLINGCONV
0x80131b35
VLDTR_E_MS_MISSARITY
0x80131b36
VLDTR_E_MS_MISSARG
0x80131b37
VLDTR_E_MS_ARITYMISMATCH
0x80131b38
VLDTR_E_MS_METHODNOTGENERIC
0x80131b39
VLDTR_E_SIG_MISSARITY
0x80131b3a
VLDTR_E_SIG_ARITYMISMATCH
0x80131b3b
VLDTR_E_MD_GENERIC_CCTOR
0x80131b3c
VLDTR_E_MD_GENERIC_CTOR
0x80131b3d
VLDTR_E_MD_GENERIC_IMPORT
0x80131b3e
VLDTR_E_MD_GENERIC_BADCALLCONV
0x80131b3f
VLDTR_E_EP_GENERIC_METHOD
0x80131b40
VLDTR_E_MD_MISSARITY
0x80131b41
VLDTR_E_MD_ARITYZERO
0x80131b42
VLDTR_E_SIG_ARITYZERO
0x80131b43
VLDTR_E_MS_ARITYZERO
0x80131b44
VLDTR_E_MD_GPMISMATCH
0x80131b45
VLDTR_E_EP_GENERIC_TYPE
0x80131b46
VLDTR_E_MI_DECLNOTGENERIC
0x80131b47
VLDTR_E_MI_IMPLNOTGENERIC
0x80131b48
VLDTR_E_MI_ARITYMISMATCH
0x80131b49
VLDTR_E_TD_EXTBADTYPESPEC
0x80131b4a
VLDTR_E_SIG_BYREFINST
0x80131b4b
VLDTR_E_MS_BYREFINST
0x80131b4c
VLDTR_E_TS_EMPTY
0x80131b4d
VLDTR_E_TS_HASSENTINALS
0x80131b4e
VLDTR_E_TD_GENERICHASEXPLAYOUT
0x80131b4f
VLDTR_E_SIG_BADTOKTYPE
0x80131b50
VLDTR_E_IFACE_METHNOTIMPLTHISMOD
0x80131b51
TLBX_E_CIRCULAR_EXPORT2
0x80131b52
CORDBG_E_THREAD_NOT_SCHEDULED
0x80131c00
CORDBG_E_HANDLE_HAS_BEEN_DISPOSED
0x80131c01
CORDBG_E_NONINTERCEPTABLE_EXCEPTION
0x80131c02
CORDBG_E_CANT_UNWIND_ABOVE_CALLBACK
0x80131c03
CORDBG_E_INTERCEPT_FRAME_ALREADY_SET
0x80131c04
CORDBG_E_NO_NATIVE_PATCH_AT_ADDR
0x80131c05
CORDBG_E_MUST_BE_INTEROP_DEBUGGING
0x80131c06
CORDBG_E_NATIVE_PATCH_ALREADY_AT_ADDR
0x80131c07
CORDBG_E_TIMEOUT
0x80131c08
CORDBG_E_CANT_CALL_ON_THIS_THREAD
0x80131c09
CORDBG_E_ENC_INFOLESS_METHOD
0x80131c0a
CORDBG_E_ENC_NESTED_HANLDERS
0x80131c0b
CORDBG_E_ENC_IN_FUNCLET
0x80131c0c
CORDBG_E_ENC_LOCALLOC
0x80131c0d
CORDBG_E_ENC_EDIT_NOT_SUPPORTED
0x80131c0e
CORDBG_E_FEABORT_DELAYED_UNTIL_THREAD_RESUMED
0x80131c0f
CORDBG_E_NOTREADY
0x80131c10
CORDBG_E_CANNOT_RESOLVE_ASSEMBLY
0x80131c11
CORDBG_E_MUST_BE_IN_LOAD_MODULE
0x80131c12
CORDBG_E_CANNOT_BE_ON_ATTACH
0x80131c13
CORDBG_E_NGEN_NOT_SUPPORTED
0x80131c14
CORDBG_E_ILLEGAL_SHUTDOWN_ORDER
0x80131c15
CORDBG_E_CANNOT_DEBUG_FIBER_PROCESS
0x80131c16
CORDBG_E_MUST_BE_IN_CREATE_PROCESS
0x80131c17
CORDBG_E_DETACH_FAILED_OUTSTANDING_EVALS
0x80131c18
CORDBG_E_DETACH_FAILED_OUTSTANDING_STEPPERS
0x80131c19
CORDBG_E_CANT_INTEROP_STEP_OUT
0x80131c20
CORDBG_E_DETACH_FAILED_OUTSTANDING_BREAKPOINTS
0x80131c21
CORDBG_E_ILLEGAL_IN_STACK_OVERFLOW
0x80131c22
CORDBG_E_ILLEGAL_AT_GC_UNSAFE_POINT
0x80131c23
CORDBG_E_ILLEGAL_IN_PROLOG
0x80131c24
CORDBG_E_ILLEGAL_IN_NATIVE_CODE
0x80131c25
CORDBG_E_ILLEGAL_IN_OPTIMIZED_CODE
0x80131c26
CORDBG_E_MINIDUMP_UNSUPPORTED
0x80131c27
CORDBG_E_APPDOMAIN_MISMATCH
0x80131c28
CORDBG_E_CONTEXT_UNVAILABLE
0x80131c29
CORDBG_E_UNCOMPATIBLE_PLATFORMS
0x80131c30
CORDBG_E_DEBUGGING_DISABLED
0x80131c31
CORDBG_E_DETACH_FAILED_ON_ENC
0x80131c32
CORDBG_E_CURRENT_EXCEPTION_IS_OUTSIDE_CURRENT_EXECUTION_SCOPE
0x80131c33
CORDBG_E_HELPER_MAY_DEADLOCK
0x80131c34
CORDBG_E_MISSING_METADATA
0x80131c35
CORDBG_E_TARGET_INCONSISTENT
0x80131c36
CORDBG_E_DETACH_FAILED_OUTSTANDING_TARGET_RESOURCES
0x80131c37
CORDBG_E_TARGET_READONLY
0x80131c38
CORDBG_E_MISMATCHED_CORWKS_AND_DACWKS_DLLS
0x80131c39
CORDBG_E_MODULE_LOADED_FROM_DISK
0x80131c3a
CORDBG_E_SYMBOLS_NOT_AVAILABLE
0x80131c3b
CORDBG_E_DEBUG_COMPONENT_MISSING
0x80131c3c
CORDBG_E_REMOTE_MISMATCHED_CERTS
0x80131c3d
CORDBG_E_REMOTE_NETWORK_FAILURE
0x80131c3e
CORDBG_E_REMOTE_NO_LISTENER
0x80131c3f
CORDBG_E_REMOTE_UNKNOWN_TARGET
0x80131c40
CORDBG_E_REMOTE_INVALID_CONFIG
0x80131c41
CORDBG_E_REMOTE_MISMATCHED_PROTOCOLS
0x80131c42
CORDBG_E_LIBRARY_PROVIDER_ERROR
0x80131c43
CORDBG_E_NOT_CLR
0x80131c44
CORDBG_E_MISSING_DATA_TARGET_INTERFACE
0x80131c45
CORDBG_E_UNSUPPORTED_DEBUGGING_MODEL
0x80131c46
CORDBG_E_UNSUPPORTED_FORWARD_COMPAT
0x80131c47
CORDBG_E_UNSUPPORTED_VERSION_STRUCT
0x80131c48
CORDBG_E_READVIRTUAL_FAILURE
0x80131c49
CORDBG_E_VALUE_POINTS_TO_FUNCTION
0x80131c4a
PEFMT_E_NO_CONTENTS
0x80131d00
PEFMT_E_NO_NTHEADERS
0x80131d01
PEFMT_E_64BIT
0x80131d02
PEFMT_E_NO_CORHEADER
0x80131d03
PEFMT_E_NOT_ILONLY
0x80131d04
PEFMT_E_IMPORT_DLLS
0x80131d05
PEFMT_E_EXE_NOENTRYPOINT
0x80131d06
PEFMT_E_BASE_RELOCS
0x80131d07
PEFMT_E_ENTRYPOINT
0x80131d08
PEFMT_E_ZERO_SIZEOFCODE
0x80131d09
PEFMT_E_BAD_CORHEADER
0x80131d0a
PEFMT_E_32BIT
0x80131d0b
CLR_OPTSVC_E_CONTROLLER_INTERRUPT
0x80131e00
NGEN_FAILED_GET_DEPENDENCIES
0x80131f00
NGEN_FAILED_NATIVE_IMAGE_DELETE
0x80131f01
NGEN_E_TOO_MANY_INTERFACES
0x80131f02
NGEN_E_OLDER_RUNTIME
0x80131f03
NGEN_E_WORKER_UNEXPECTED_EXIT
0x80131f04
NGEN_E_WORKER_UNEXPECTED_SYNC
0x80131f05
NGEN_E_SYS_ASM_NI_MISSING
0x80131f06
CLDB_E_INTERNALERROR
0x80131fff
Disclaimer
This post has some implementation details of CLR. Please do not use this information in your application as these implementation details are subject to change in the future.