339 references to SetErrorCode
mscorlib (339)
system\accessviolationexception.cs (3)
28
SetErrorCode
(__HResults.E_POINTER);
34
SetErrorCode
(__HResults.E_POINTER);
40
SetErrorCode
(__HResults.E_POINTER);
system\appdomainunloadedexception.cs (3)
27
SetErrorCode
(__HResults.COR_E_APPDOMAINUNLOADED);
32
SetErrorCode
(__HResults.COR_E_APPDOMAINUNLOADED);
37
SetErrorCode
(__HResults.COR_E_APPDOMAINUNLOADED);
system\applicationexception.cs (3)
36
SetErrorCode
(__HResults.COR_E_APPLICATION);
45
SetErrorCode
(__HResults.COR_E_APPLICATION);
50
SetErrorCode
(__HResults.COR_E_APPLICATION);
system\argumentexception.cs (5)
37
SetErrorCode
(__HResults.COR_E_ARGUMENT);
45
SetErrorCode
(__HResults.COR_E_ARGUMENT);
50
SetErrorCode
(__HResults.COR_E_ARGUMENT);
56
SetErrorCode
(__HResults.COR_E_ARGUMENT);
63
SetErrorCode
(__HResults.COR_E_ARGUMENT);
system\argumentnullexception.cs (4)
34
SetErrorCode
(__HResults.E_POINTER);
39
SetErrorCode
(__HResults.E_POINTER);
44
SetErrorCode
(__HResults.E_POINTER);
49
SetErrorCode
(__HResults.E_POINTER);
system\argumentoutofrangeexception.cs (5)
46
SetErrorCode
(__HResults.COR_E_ARGUMENTOUTOFRANGE);
51
SetErrorCode
(__HResults.COR_E_ARGUMENTOUTOFRANGE);
56
SetErrorCode
(__HResults.COR_E_ARGUMENTOUTOFRANGE);
61
SetErrorCode
(__HResults.COR_E_ARGUMENTOUTOFRANGE);
70
SetErrorCode
(__HResults.COR_E_ARGUMENTOUTOFRANGE);
system\arithmeticexception.cs (3)
31
SetErrorCode
(__HResults.COR_E_ARITHMETIC);
40
SetErrorCode
(__HResults.COR_E_ARITHMETIC);
45
SetErrorCode
(__HResults.COR_E_ARITHMETIC);
system\arraytypemismatchexception.cs (3)
32
SetErrorCode
(__HResults.COR_E_ARRAYTYPEMISMATCH);
41
SetErrorCode
(__HResults.COR_E_ARRAYTYPEMISMATCH);
46
SetErrorCode
(__HResults.COR_E_ARRAYTYPEMISMATCH);
system\badimageformatexception.cs (6)
35
SetErrorCode
(__HResults.COR_E_BADIMAGEFORMAT);
40
SetErrorCode
(__HResults.COR_E_BADIMAGEFORMAT);
45
SetErrorCode
(__HResults.COR_E_BADIMAGEFORMAT);
50
SetErrorCode
(__HResults.COR_E_BADIMAGEFORMAT);
56
SetErrorCode
(__HResults.COR_E_BADIMAGEFORMAT);
133
SetErrorCode
(hResult);
system\cannotunloadappdomainexception.cs (3)
27
SetErrorCode
(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN);
32
SetErrorCode
(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN);
37
SetErrorCode
(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN);
system\collections\generic\keynotfoundexception.cs (3)
30
SetErrorCode
(System.__HResults.COR_E_KEYNOTFOUND);
35
SetErrorCode
(System.__HResults.COR_E_KEYNOTFOUND);
40
SetErrorCode
(System.__HResults.COR_E_KEYNOTFOUND);
system\contextmarshalexception.cs (3)
29
SetErrorCode
(__HResults.COR_E_CONTEXTMARSHAL);
34
SetErrorCode
(__HResults.COR_E_CONTEXTMARSHAL);
39
SetErrorCode
(__HResults.COR_E_CONTEXTMARSHAL);
system\datamisalignedexception.cs (3)
26
SetErrorCode
(__HResults.COR_E_DATAMISALIGNED);
32
SetErrorCode
(__HResults.COR_E_DATAMISALIGNED);
38
SetErrorCode
(__HResults.COR_E_DATAMISALIGNED);
system\dividebyzeroexception.cs (3)
25
SetErrorCode
(__HResults.COR_E_DIVIDEBYZERO);
30
SetErrorCode
(__HResults.COR_E_DIVIDEBYZERO);
35
SetErrorCode
(__HResults.COR_E_DIVIDEBYZERO);
system\dllnotfoundexception.cs (3)
25
SetErrorCode
(__HResults.COR_E_DLLNOTFOUND);
30
SetErrorCode
(__HResults.COR_E_DLLNOTFOUND);
35
SetErrorCode
(__HResults.COR_E_DLLNOTFOUND);
system\duplicatewaitobjectexception.cs (4)
43
SetErrorCode
(__HResults.COR_E_DUPLICATEWAITOBJECT);
48
SetErrorCode
(__HResults.COR_E_DUPLICATEWAITOBJECT);
53
SetErrorCode
(__HResults.COR_E_DUPLICATEWAITOBJECT);
58
SetErrorCode
(__HResults.COR_E_DUPLICATEWAITOBJECT);
system\entrypointnotfoundexception.cs (3)
24
SetErrorCode
(__HResults.COR_E_ENTRYPOINTNOTFOUND);
29
SetErrorCode
(__HResults.COR_E_ENTRYPOINTNOTFOUND);
34
SetErrorCode
(__HResults.COR_E_ENTRYPOINTNOTFOUND);
system\executionengineexception.cs (3)
31
SetErrorCode
(__HResults.COR_E_EXECUTIONENGINE);
36
SetErrorCode
(__HResults.COR_E_EXECUTIONENGINE);
41
SetErrorCode
(__HResults.COR_E_EXECUTIONENGINE);
system\fieldaccessexception.cs (3)
22
SetErrorCode
(__HResults.COR_E_FIELDACCESS);
27
SetErrorCode
(__HResults.COR_E_FIELDACCESS);
32
SetErrorCode
(__HResults.COR_E_FIELDACCESS);
system\formatexception.cs (3)
24
SetErrorCode
(__HResults.COR_E_FORMAT);
29
SetErrorCode
(__HResults.COR_E_FORMAT);
34
SetErrorCode
(__HResults.COR_E_FORMAT);
system\indexoutofrangeexception.cs (3)
25
SetErrorCode
(__HResults.COR_E_INDEXOUTOFRANGE);
30
SetErrorCode
(__HResults.COR_E_INDEXOUTOFRANGE);
35
SetErrorCode
(__HResults.COR_E_INDEXOUTOFRANGE);
system\insufficientexecutionstackexception.cs (3)
28
SetErrorCode
(__HResults.COR_E_INSUFFICIENTEXECUTIONSTACK);
34
SetErrorCode
(__HResults.COR_E_INSUFFICIENTEXECUTIONSTACK);
40
SetErrorCode
(__HResults.COR_E_INSUFFICIENTEXECUTIONSTACK);
system\insufficientmemoryexception.cs (3)
31
SetErrorCode
(__HResults.COR_E_INSUFFICIENTMEMORY);
36
SetErrorCode
(__HResults.COR_E_INSUFFICIENTMEMORY);
41
SetErrorCode
(__HResults.COR_E_INSUFFICIENTMEMORY);
system\invalidcastexception.cs (4)
25
SetErrorCode
(__HResults.COR_E_INVALIDCAST);
30
SetErrorCode
(__HResults.COR_E_INVALIDCAST);
35
SetErrorCode
(__HResults.COR_E_INVALIDCAST);
43
SetErrorCode
(errorCode);
system\invalidoperationexception.cs (3)
26
SetErrorCode
(__HResults.COR_E_INVALIDOPERATION);
31
SetErrorCode
(__HResults.COR_E_INVALIDOPERATION);
36
SetErrorCode
(__HResults.COR_E_INVALIDOPERATION);
system\invalidprogramexception.cs (3)
25
SetErrorCode
(__HResults.COR_E_INVALIDPROGRAM);
30
SetErrorCode
(__HResults.COR_E_INVALIDPROGRAM);
35
SetErrorCode
(__HResults.COR_E_INVALIDPROGRAM);
system\io\directorynotfoundexception.cs (3)
32
SetErrorCode
(__HResults.COR_E_DIRECTORYNOTFOUND);
37
SetErrorCode
(__HResults.COR_E_DIRECTORYNOTFOUND);
42
SetErrorCode
(__HResults.COR_E_DIRECTORYNOTFOUND);
system\io\drivenotfoundexception.cs (3)
27
SetErrorCode
(__HResults.COR_E_DIRECTORYNOTFOUND);
32
SetErrorCode
(__HResults.COR_E_DIRECTORYNOTFOUND);
37
SetErrorCode
(__HResults.COR_E_DIRECTORYNOTFOUND);
system\io\endofstreamexception.cs (3)
28
SetErrorCode
(__HResults.COR_E_ENDOFSTREAM);
33
SetErrorCode
(__HResults.COR_E_ENDOFSTREAM);
38
SetErrorCode
(__HResults.COR_E_ENDOFSTREAM);
system\io\fileloadexception.cs (6)
40
SetErrorCode
(__HResults.COR_E_FILELOAD);
45
SetErrorCode
(__HResults.COR_E_FILELOAD);
50
SetErrorCode
(__HResults.COR_E_FILELOAD);
55
SetErrorCode
(__HResults.COR_E_FILELOAD);
61
SetErrorCode
(__HResults.COR_E_FILELOAD);
151
SetErrorCode
(hResult);
system\io\filenotfoundexception.cs (6)
36
SetErrorCode
(__HResults.COR_E_FILENOTFOUND);
41
SetErrorCode
(__HResults.COR_E_FILENOTFOUND);
46
SetErrorCode
(__HResults.COR_E_FILENOTFOUND);
51
SetErrorCode
(__HResults.COR_E_FILENOTFOUND);
57
SetErrorCode
(__HResults.COR_E_FILENOTFOUND);
137
SetErrorCode
(hResult);
system\io\ioexception.cs (5)
40
SetErrorCode
(__HResults.COR_E_IO);
45
SetErrorCode
(__HResults.COR_E_IO);
50
SetErrorCode
(hresult);
58
SetErrorCode
(hresult);
64
SetErrorCode
(__HResults.COR_E_IO);
system\io\isolatedstorage\isolatedstorageexception.cs (3)
33
SetErrorCode
(__HResults.COR_E_ISOSTORE);
39
SetErrorCode
(__HResults.COR_E_ISOSTORE);
45
SetErrorCode
(__HResults.COR_E_ISOSTORE);
system\io\pathtoolongexception.cs (3)
30
SetErrorCode
(__HResults.COR_E_PATHTOOLONG);
35
SetErrorCode
(__HResults.COR_E_PATHTOOLONG);
40
SetErrorCode
(__HResults.COR_E_PATHTOOLONG);
system\memberaccessexception.cs (3)
28
SetErrorCode
(__HResults.COR_E_MEMBERACCESS);
37
SetErrorCode
(__HResults.COR_E_MEMBERACCESS);
42
SetErrorCode
(__HResults.COR_E_MEMBERACCESS);
system\methodaccessexception.cs (3)
22
SetErrorCode
(__HResults.COR_E_METHODACCESS);
27
SetErrorCode
(__HResults.COR_E_METHODACCESS);
32
SetErrorCode
(__HResults.COR_E_METHODACCESS);
system\missingfieldexception.cs (3)
26
SetErrorCode
(__HResults.COR_E_MISSINGFIELD);
31
SetErrorCode
(__HResults.COR_E_MISSINGFIELD);
36
SetErrorCode
(__HResults.COR_E_MISSINGFIELD);
system\missingmemberexception.cs (3)
31
SetErrorCode
(__HResults.COR_E_MISSINGMEMBER);
36
SetErrorCode
(__HResults.COR_E_MISSINGMEMBER);
41
SetErrorCode
(__HResults.COR_E_MISSINGMEMBER);
system\missingmethodexception.cs (3)
28
SetErrorCode
(__HResults.COR_E_MISSINGMETHOD);
33
SetErrorCode
(__HResults.COR_E_MISSINGMETHOD);
38
SetErrorCode
(__HResults.COR_E_MISSINGMETHOD);
system\multicastnotsupportedexception.cs (3)
21
SetErrorCode
(__HResults.COR_E_MULTICASTNOTSUPPORTED);
26
SetErrorCode
(__HResults.COR_E_MULTICASTNOTSUPPORTED);
31
SetErrorCode
(__HResults.COR_E_MULTICASTNOTSUPPORTED);
system\notfinitenumberexception.cs (6)
21
SetErrorCode
(__HResults.COR_E_NOTFINITENUMBER);
27
SetErrorCode
(__HResults.COR_E_NOTFINITENUMBER);
33
SetErrorCode
(__HResults.COR_E_NOTFINITENUMBER);
39
SetErrorCode
(__HResults.COR_E_NOTFINITENUMBER);
44
SetErrorCode
(__HResults.COR_E_NOTFINITENUMBER);
50
SetErrorCode
(__HResults.COR_E_NOTFINITENUMBER);
system\notimplementedexception.cs (3)
28
SetErrorCode
(__HResults.E_NOTIMPL);
32
SetErrorCode
(__HResults.E_NOTIMPL);
36
SetErrorCode
(__HResults.E_NOTIMPL);
system\notsupportedexception.cs (3)
26
SetErrorCode
(__HResults.COR_E_NOTSUPPORTED);
31
SetErrorCode
(__HResults.COR_E_NOTSUPPORTED);
36
SetErrorCode
(__HResults.COR_E_NOTSUPPORTED);
system\nullreferenceexception.cs (3)
25
SetErrorCode
(__HResults.COR_E_NULLREFERENCE);
30
SetErrorCode
(__HResults.COR_E_NULLREFERENCE);
35
SetErrorCode
(__HResults.COR_E_NULLREFERENCE);
system\objectdisposedexception.cs (2)
31
SetErrorCode
(__HResults.COR_E_OBJECTDISPOSED);
37
SetErrorCode
(__HResults.COR_E_OBJECTDISPOSED);
system\operationcanceledexception.cs (3)
37
SetErrorCode
(__HResults.COR_E_OPERATIONCANCELED);
42
SetErrorCode
(__HResults.COR_E_OPERATIONCANCELED);
47
SetErrorCode
(__HResults.COR_E_OPERATIONCANCELED);
system\outofmemoryexception.cs (3)
26
SetErrorCode
(__HResults.COR_E_OUTOFMEMORY);
31
SetErrorCode
(__HResults.COR_E_OUTOFMEMORY);
36
SetErrorCode
(__HResults.COR_E_OUTOFMEMORY);
system\overflowexception.cs (3)
26
SetErrorCode
(__HResults.COR_E_OVERFLOW);
31
SetErrorCode
(__HResults.COR_E_OVERFLOW);
36
SetErrorCode
(__HResults.COR_E_OVERFLOW);
system\platformnotsupportedexception.cs (3)
27
SetErrorCode
(__HResults.COR_E_PLATFORMNOTSUPPORTED);
32
SetErrorCode
(__HResults.COR_E_PLATFORMNOTSUPPORTED);
37
SetErrorCode
(__HResults.COR_E_PLATFORMNOTSUPPORTED);
system\rankexception.cs (3)
27
SetErrorCode
(__HResults.COR_E_RANK);
32
SetErrorCode
(__HResults.COR_E_RANK);
37
SetErrorCode
(__HResults.COR_E_RANK);
system\reflection\ambiguousmatchexception.cs (3)
29
SetErrorCode
(__HResults.COR_E_AMBIGUOUSMATCH);
33
SetErrorCode
(__HResults.COR_E_AMBIGUOUSMATCH);
37
SetErrorCode
(__HResults.COR_E_AMBIGUOUSMATCH);
system\reflection\customattributeformatexception.cs (3)
27
SetErrorCode
(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT);
31
SetErrorCode
(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT);
35
SetErrorCode
(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT);
system\reflection\invalidfiltercriteriaexception.cs (3)
31
SetErrorCode
(__HResults.COR_E_INVALIDFILTERCRITERIA);
35
SetErrorCode
(__HResults.COR_E_INVALIDFILTERCRITERIA);
39
SetErrorCode
(__HResults.COR_E_INVALIDFILTERCRITERIA);
system\reflection\reflectiontypeloadexception.cs (4)
35
SetErrorCode
(__HResults.COR_E_REFLECTIONTYPELOAD);
40
SetErrorCode
(__HResults.COR_E_REFLECTIONTYPELOAD);
47
SetErrorCode
(__HResults.COR_E_REFLECTIONTYPELOAD);
54
SetErrorCode
(__HResults.COR_E_REFLECTIONTYPELOAD);
system\reflection\targetexception.cs (3)
30
SetErrorCode
(__HResults.COR_E_TARGET);
34
SetErrorCode
(__HResults.COR_E_TARGET);
38
SetErrorCode
(__HResults.COR_E_TARGET);
system\reflection\targetinvocationexception.cs (4)
33
SetErrorCode
(__HResults.COR_E_TARGETINVOCATION);
38
SetErrorCode
(__HResults.COR_E_TARGETINVOCATION);
43
SetErrorCode
(__HResults.COR_E_TARGETINVOCATION);
47
SetErrorCode
(__HResults.COR_E_TARGETINVOCATION);
system\reflection\targetparametercountexception.cs (3)
31
SetErrorCode
(__HResults.COR_E_TARGETPARAMCOUNT);
36
SetErrorCode
(__HResults.COR_E_TARGETPARAMCOUNT);
41
SetErrorCode
(__HResults.COR_E_TARGETPARAMCOUNT);
system\resources\missingmanifestresourceexception.cs (3)
28
SetErrorCode
(System.__HResults.COR_E_MISSINGMANIFESTRESOURCE);
33
SetErrorCode
(System.__HResults.COR_E_MISSINGMANIFESTRESOURCE);
38
SetErrorCode
(System.__HResults.COR_E_MISSINGMANIFESTRESOURCE);
system\resources\missingsatelliteassemblyexception.cs (4)
32
SetErrorCode
(System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
37
SetErrorCode
(System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
42
SetErrorCode
(System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
48
SetErrorCode
(System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
system\runtime\compilerservices\RuntimeWrappedException.cs (1)
28
SetErrorCode
(System.__HResults.COR_E_RUNTIMEWRAPPED);
system\runtime\interopservices\comexception.cs (6)
32
SetErrorCode
(__HResults.E_FAIL);
38
SetErrorCode
(__HResults.E_FAIL);
43
SetErrorCode
(__HResults.E_FAIL);
48
SetErrorCode
(errorCode);
55
SetErrorCode
(hresult);
61
SetErrorCode
(hresult);
system\runtime\interopservices\externalexception.cs (4)
30
SetErrorCode
(__HResults.E_FAIL);
35
SetErrorCode
(__HResults.E_FAIL);
40
SetErrorCode
(__HResults.E_FAIL);
45
SetErrorCode
(errorCode);
system\runtime\interopservices\invalidcomobjectexception.cs (3)
26
SetErrorCode
(__HResults.COR_E_INVALIDCOMOBJECT);
31
SetErrorCode
(__HResults.COR_E_INVALIDCOMOBJECT);
36
SetErrorCode
(__HResults.COR_E_INVALIDCOMOBJECT);
system\runtime\interopservices\invalidolevarianttypeexception.cs (3)
24
SetErrorCode
(__HResults.COR_E_INVALIDOLEVARIANTTYPE);
29
SetErrorCode
(__HResults.COR_E_INVALIDOLEVARIANTTYPE);
34
SetErrorCode
(__HResults.COR_E_INVALIDOLEVARIANTTYPE);
system\runtime\interopservices\marshaldirectiveexception.cs (3)
26
SetErrorCode
(__HResults.COR_E_MARSHALDIRECTIVE);
31
SetErrorCode
(__HResults.COR_E_MARSHALDIRECTIVE);
36
SetErrorCode
(__HResults.COR_E_MARSHALDIRECTIVE);
system\runtime\interopservices\safearrayrankmismatchexception.cs (3)
24
SetErrorCode
(__HResults.COR_E_SAFEARRAYRANKMISMATCH);
29
SetErrorCode
(__HResults.COR_E_SAFEARRAYRANKMISMATCH);
34
SetErrorCode
(__HResults.COR_E_SAFEARRAYRANKMISMATCH);
system\runtime\interopservices\safearraytypemismatchexception.cs (3)
25
SetErrorCode
(__HResults.COR_E_SAFEARRAYTYPEMISMATCH);
30
SetErrorCode
(__HResults.COR_E_SAFEARRAYTYPEMISMATCH);
35
SetErrorCode
(__HResults.COR_E_SAFEARRAYTYPEMISMATCH);
system\runtime\interopservices\sehexception.cs (3)
27
SetErrorCode
(__HResults.E_FAIL);
32
SetErrorCode
(__HResults.E_FAIL);
37
SetErrorCode
(__HResults.E_FAIL);
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (1)
392
e.
SetErrorCode
(elementCastException._HResult);
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (2)
69
e.
SetErrorCode
(__HResults.E_BOUNDS);
142
e.
SetErrorCode
(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\dictionarytomapadapter.cs (2)
48
e.
SetErrorCode
(__HResults.E_BOUNDS);
108
e.
SetErrorCode
(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\ireadonlydictionarytoimapviewadapter.cs (1)
48
e.
SetErrorCode
(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\ireadonlylisttoivectorviewadapter.cs (2)
50
ex.
SetErrorCode
(__HResults.E_BOUNDS);
137
e.
SetErrorCode
(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\listtobindablevectoradapter.cs (4)
121
ex.
SetErrorCode
(__HResults.E_BOUNDS);
140
ex.
SetErrorCode
(__HResults.E_BOUNDS);
161
e.
SetErrorCode
(__HResults.E_BOUNDS);
186
e.
SetErrorCode
(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\listtobindablevectorviewadapter.cs (1)
45
e.
SetErrorCode
(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (4)
130
ex.
SetErrorCode
(__HResults.E_BOUNDS);
149
ex.
SetErrorCode
(__HResults.E_BOUNDS);
170
e.
SetErrorCode
(__HResults.E_BOUNDS);
219
e.
SetErrorCode
(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1088
e.
SetErrorCode
(hresult);
system\runtime\remoting\remotingexception.cs (8)
34
SetErrorCode
(__HResults.COR_E_REMOTING);
39
SetErrorCode
(__HResults.COR_E_REMOTING);
45
SetErrorCode
(__HResults.COR_E_REMOTING);
66
SetErrorCode
(__HResults.COR_E_SERVER);
71
SetErrorCode
(__HResults.COR_E_SERVER);
77
SetErrorCode
(__HResults.COR_E_SERVER);
97
SetErrorCode
(__HResults.COR_E_REMOTING);
104
SetErrorCode
(__HResults.COR_E_REMOTING);
system\runtime\serialization\serializationexception.cs (3)
31
SetErrorCode
(__HResults.COR_E_SERIALIZATION);
36
SetErrorCode
(__HResults.COR_E_SERIALIZATION);
40
SetErrorCode
(__HResults.COR_E_SERIALIZATION);
system\security\cryptography\crypto.cs (9)
89
SetErrorCode
(__HResults.CORSEC_E_CRYPTO);
94
SetErrorCode
(__HResults.CORSEC_E_CRYPTO);
99
SetErrorCode
(__HResults.CORSEC_E_CRYPTO);
104
SetErrorCode
(__HResults.CORSEC_E_CRYPTO);
116
SetErrorCode
(hr);
145
SetErrorCode
(__HResults.CORSEC_E_CRYPTO_UNEX_OPER);
150
SetErrorCode
(__HResults.CORSEC_E_CRYPTO_UNEX_OPER);
155
SetErrorCode
(__HResults.CORSEC_E_CRYPTO_UNEX_OPER);
160
SetErrorCode
(__HResults.CORSEC_E_CRYPTO_UNEX_OPER);
system\security\hostprotectionexception.cs (2)
68
SetErrorCode
(__HResults.COR_E_HOSTPROTECTION);
77
SetErrorCode
(__HResults.COR_E_HOSTPROTECTION);
system\security\securityexception.cs (9)
164
SetErrorCode
(System.__HResults.COR_E_SECURITY);
171
SetErrorCode
(System.__HResults.COR_E_SECURITY);
180
SetErrorCode
(System.__HResults.COR_E_SECURITY);
190
SetErrorCode
(System.__HResults.COR_E_SECURITY);
199
SetErrorCode
(System.__HResults.COR_E_SECURITY);
209
SetErrorCode
(System.__HResults.COR_E_SECURITY);
222
SetErrorCode
(System.__HResults.COR_E_SECURITY);
276
SetErrorCode
(System.__HResults.COR_E_SECURITY);
310
SetErrorCode
(System.__HResults.COR_E_SECURITY);
system\security\verificationexception.cs (3)
18
SetErrorCode
(__HResults.COR_E_VERIFICATION);
23
SetErrorCode
(__HResults.COR_E_VERIFICATION);
28
SetErrorCode
(__HResults.COR_E_VERIFICATION);
system\security\xmlsyntaxexception.cs (5)
21
SetErrorCode
(__HResults.CORSEC_E_XMLSYNTAX);
28
SetErrorCode
(__HResults.CORSEC_E_XMLSYNTAX);
35
SetErrorCode
(__HResults.CORSEC_E_XMLSYNTAX);
42
SetErrorCode
(__HResults.CORSEC_E_XMLSYNTAX);
49
SetErrorCode
(__HResults.CORSEC_E_XMLSYNTAX);
system\stackoverflowexception.cs (3)
25
SetErrorCode
(__HResults.COR_E_STACKOVERFLOW);
30
SetErrorCode
(__HResults.COR_E_STACKOVERFLOW);
35
SetErrorCode
(__HResults.COR_E_STACKOVERFLOW);
system\systemexception.cs (3)
16
SetErrorCode
(__HResults.COR_E_SYSTEM);
21
SetErrorCode
(__HResults.COR_E_SYSTEM);
26
SetErrorCode
(__HResults.COR_E_SYSTEM);
system\text\decoderexceptionfallback.cs (3)
116
SetErrorCode
(__HResults.COR_E_ARGUMENT);
122
SetErrorCode
(__HResults.COR_E_ARGUMENT);
128
SetErrorCode
(__HResults.COR_E_ARGUMENT);
system\text\encoderexceptionfallback.cs (3)
119
SetErrorCode
(__HResults.COR_E_ARGUMENT);
125
SetErrorCode
(__HResults.COR_E_ARGUMENT);
131
SetErrorCode
(__HResults.COR_E_ARGUMENT);
system\threading\abandonedmutexexception.cs (6)
30
SetErrorCode
(__HResults.COR_E_ABANDONEDMUTEX);
35
SetErrorCode
(__HResults.COR_E_ABANDONEDMUTEX);
40
SetErrorCode
(__HResults.COR_E_ABANDONEDMUTEX);
45
SetErrorCode
(__HResults.COR_E_ABANDONEDMUTEX);
51
SetErrorCode
(__HResults.COR_E_ABANDONEDMUTEX);
57
SetErrorCode
(__HResults.COR_E_ABANDONEDMUTEX);
system\threading\synchronizationlockexception.cs (3)
28
SetErrorCode
(__HResults.COR_E_SYNCHRONIZATIONLOCK);
33
SetErrorCode
(__HResults.COR_E_SYNCHRONIZATIONLOCK);
38
SetErrorCode
(__HResults.COR_E_SYNCHRONIZATIONLOCK);
system\threading\threadabortexception.cs (1)
40
SetErrorCode
(__HResults.COR_E_THREADABORTED);
system\threading\threadinterruptedexception.cs (3)
28
SetErrorCode
(__HResults.COR_E_THREADINTERRUPTED);
33
SetErrorCode
(__HResults.COR_E_THREADINTERRUPTED);
38
SetErrorCode
(__HResults.COR_E_THREADINTERRUPTED);
system\threading\threadstartexception.cs (2)
21
SetErrorCode
(__HResults.COR_E_THREADSTART);
27
SetErrorCode
(__HResults.COR_E_THREADSTART);
system\threading\threadstateexception.cs (3)
27
SetErrorCode
(__HResults.COR_E_THREADSTATE);
32
SetErrorCode
(__HResults.COR_E_THREADSTATE);
37
SetErrorCode
(__HResults.COR_E_THREADSTATE);
system\threading\waithandlecannotbeopenedexception.cs (3)
24
SetErrorCode
(__HResults.COR_E_WAITHANDLECANNOTBEOPENED);
29
SetErrorCode
(__HResults.COR_E_WAITHANDLECANNOTBEOPENED);
34
SetErrorCode
(__HResults.COR_E_WAITHANDLECANNOTBEOPENED);
system\timeoutexception.cs (3)
26
SetErrorCode
(__HResults.COR_E_TIMEOUT);
31
SetErrorCode
(__HResults.COR_E_TIMEOUT);
36
SetErrorCode
(__HResults.COR_E_TIMEOUT);
system\typeaccessexception.cs (4)
20
SetErrorCode
(__HResults.COR_E_TYPEACCESS);
26
SetErrorCode
(__HResults.COR_E_TYPEACCESS);
32
SetErrorCode
(__HResults.COR_E_TYPEACCESS);
38
SetErrorCode
(__HResults.COR_E_TYPEACCESS);
system\typeinitializationexception.cs (3)
33
SetErrorCode
(__HResults.COR_E_TYPEINITIALIZATION);
39
SetErrorCode
(__HResults.COR_E_TYPEINITIALIZATION);
44
SetErrorCode
(__HResults.COR_E_TYPEINITIALIZATION);
system\typeloadexception.cs (4)
34
SetErrorCode
(__HResults.COR_E_TYPELOAD);
39
SetErrorCode
(__HResults.COR_E_TYPELOAD);
44
SetErrorCode
(__HResults.COR_E_TYPELOAD);
95
SetErrorCode
(__HResults.COR_E_TYPELOAD);
system\typeunloadedexception.cs (3)
25
SetErrorCode
(__HResults.COR_E_TYPEUNLOADED);
30
SetErrorCode
(__HResults.COR_E_TYPEUNLOADED);
35
SetErrorCode
(__HResults.COR_E_TYPEUNLOADED);
system\unauthorizedaccessexception.cs (3)
29
SetErrorCode
(__HResults.COR_E_UNAUTHORIZEDACCESS);
34
SetErrorCode
(__HResults.COR_E_UNAUTHORIZEDACCESS);
39
SetErrorCode
(__HResults.COR_E_UNAUTHORIZEDACCESS);