351 references to __HResults
mscorlib (351)
system\accessviolationexception.cs (3)
28SetErrorCode(__HResults.E_POINTER); 34SetErrorCode(__HResults.E_POINTER); 40SetErrorCode(__HResults.E_POINTER);
system\appdomain.cs (1)
1041System.__HResults.CORSEC_E_NO_EXEC_PERM,
system\appdomainunloadedexception.cs (3)
27SetErrorCode(__HResults.COR_E_APPDOMAINUNLOADED); 32SetErrorCode(__HResults.COR_E_APPDOMAINUNLOADED); 37SetErrorCode(__HResults.COR_E_APPDOMAINUNLOADED);
system\applicationactivator.cs (1)
169System.__HResults.CORSEC_E_NO_EXEC_PERM,
system\applicationexception.cs (3)
36SetErrorCode(__HResults.COR_E_APPLICATION); 45SetErrorCode(__HResults.COR_E_APPLICATION); 50SetErrorCode(__HResults.COR_E_APPLICATION);
system\argumentexception.cs (5)
37SetErrorCode(__HResults.COR_E_ARGUMENT); 45SetErrorCode(__HResults.COR_E_ARGUMENT); 50SetErrorCode(__HResults.COR_E_ARGUMENT); 56SetErrorCode(__HResults.COR_E_ARGUMENT); 63SetErrorCode(__HResults.COR_E_ARGUMENT);
system\argumentnullexception.cs (4)
34SetErrorCode(__HResults.E_POINTER); 39SetErrorCode(__HResults.E_POINTER); 44SetErrorCode(__HResults.E_POINTER); 49SetErrorCode(__HResults.E_POINTER);
system\argumentoutofrangeexception.cs (5)
46SetErrorCode(__HResults.COR_E_ARGUMENTOUTOFRANGE); 51SetErrorCode(__HResults.COR_E_ARGUMENTOUTOFRANGE); 56SetErrorCode(__HResults.COR_E_ARGUMENTOUTOFRANGE); 61SetErrorCode(__HResults.COR_E_ARGUMENTOUTOFRANGE); 70SetErrorCode(__HResults.COR_E_ARGUMENTOUTOFRANGE);
system\arithmeticexception.cs (3)
31SetErrorCode(__HResults.COR_E_ARITHMETIC); 40SetErrorCode(__HResults.COR_E_ARITHMETIC); 45SetErrorCode(__HResults.COR_E_ARITHMETIC);
system\arraytypemismatchexception.cs (3)
32SetErrorCode(__HResults.COR_E_ARRAYTYPEMISMATCH); 41SetErrorCode(__HResults.COR_E_ARRAYTYPEMISMATCH); 46SetErrorCode(__HResults.COR_E_ARRAYTYPEMISMATCH);
system\badimageformatexception.cs (6)
35SetErrorCode(__HResults.COR_E_BADIMAGEFORMAT); 40SetErrorCode(__HResults.COR_E_BADIMAGEFORMAT); 45SetErrorCode(__HResults.COR_E_BADIMAGEFORMAT); 50SetErrorCode(__HResults.COR_E_BADIMAGEFORMAT); 56SetErrorCode(__HResults.COR_E_BADIMAGEFORMAT); 72(HResult == System.__HResults.COR_E_EXCEPTION))
system\cannotunloadappdomainexception.cs (3)
27SetErrorCode(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN); 32SetErrorCode(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN); 37SetErrorCode(__HResults.COR_E_CANNOTUNLOADAPPDOMAIN);
system\collections\generic\keynotfoundexception.cs (3)
30SetErrorCode(System.__HResults.COR_E_KEYNOTFOUND); 35SetErrorCode(System.__HResults.COR_E_KEYNOTFOUND); 40SetErrorCode(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)
26SetErrorCode(__HResults.COR_E_DATAMISALIGNED); 32SetErrorCode(__HResults.COR_E_DATAMISALIGNED); 38SetErrorCode(__HResults.COR_E_DATAMISALIGNED);
system\dividebyzeroexception.cs (3)
25SetErrorCode(__HResults.COR_E_DIVIDEBYZERO); 30SetErrorCode(__HResults.COR_E_DIVIDEBYZERO); 35SetErrorCode(__HResults.COR_E_DIVIDEBYZERO);
system\dllnotfoundexception.cs (3)
25SetErrorCode(__HResults.COR_E_DLLNOTFOUND); 30SetErrorCode(__HResults.COR_E_DLLNOTFOUND); 35SetErrorCode(__HResults.COR_E_DLLNOTFOUND);
system\duplicatewaitobjectexception.cs (4)
43SetErrorCode(__HResults.COR_E_DUPLICATEWAITOBJECT); 48SetErrorCode(__HResults.COR_E_DUPLICATEWAITOBJECT); 53SetErrorCode(__HResults.COR_E_DUPLICATEWAITOBJECT); 58SetErrorCode(__HResults.COR_E_DUPLICATEWAITOBJECT);
system\entrypointnotfoundexception.cs (3)
24SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND); 29SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND); 34SetErrorCode(__HResults.COR_E_ENTRYPOINTNOTFOUND);
system\environment.cs (1)
1522case __HResults.COR_E_PLATFORMNOTSUPPORTED:
system\exception.cs (1)
46HResult = __HResults.COR_E_EXCEPTION;
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)
22SetErrorCode(__HResults.COR_E_FIELDACCESS); 27SetErrorCode(__HResults.COR_E_FIELDACCESS); 32SetErrorCode(__HResults.COR_E_FIELDACCESS);
system\formatexception.cs (3)
24SetErrorCode(__HResults.COR_E_FORMAT); 29SetErrorCode(__HResults.COR_E_FORMAT); 34SetErrorCode(__HResults.COR_E_FORMAT);
system\indexoutofrangeexception.cs (3)
25SetErrorCode(__HResults.COR_E_INDEXOUTOFRANGE); 30SetErrorCode(__HResults.COR_E_INDEXOUTOFRANGE); 35SetErrorCode(__HResults.COR_E_INDEXOUTOFRANGE);
system\insufficientexecutionstackexception.cs (3)
28SetErrorCode(__HResults.COR_E_INSUFFICIENTEXECUTIONSTACK); 34SetErrorCode(__HResults.COR_E_INSUFFICIENTEXECUTIONSTACK); 40SetErrorCode(__HResults.COR_E_INSUFFICIENTEXECUTIONSTACK);
system\insufficientmemoryexception.cs (3)
31SetErrorCode(__HResults.COR_E_INSUFFICIENTMEMORY); 36SetErrorCode(__HResults.COR_E_INSUFFICIENTMEMORY); 41SetErrorCode(__HResults.COR_E_INSUFFICIENTMEMORY);
system\invalidcastexception.cs (3)
25SetErrorCode(__HResults.COR_E_INVALIDCAST); 30SetErrorCode(__HResults.COR_E_INVALIDCAST); 35SetErrorCode(__HResults.COR_E_INVALIDCAST);
system\invalidoperationexception.cs (3)
26SetErrorCode(__HResults.COR_E_INVALIDOPERATION); 31SetErrorCode(__HResults.COR_E_INVALIDOPERATION); 36SetErrorCode(__HResults.COR_E_INVALIDOPERATION);
system\invalidprogramexception.cs (3)
25SetErrorCode(__HResults.COR_E_INVALIDPROGRAM); 30SetErrorCode(__HResults.COR_E_INVALIDPROGRAM); 35SetErrorCode(__HResults.COR_E_INVALIDPROGRAM);
system\io\filenotfoundexception.cs (1)
73(HResult == System.__HResults.COR_E_EXCEPTION))
system\memberaccessexception.cs (3)
28SetErrorCode(__HResults.COR_E_MEMBERACCESS); 37SetErrorCode(__HResults.COR_E_MEMBERACCESS); 42SetErrorCode(__HResults.COR_E_MEMBERACCESS);
system\methodaccessexception.cs (3)
22SetErrorCode(__HResults.COR_E_METHODACCESS); 27SetErrorCode(__HResults.COR_E_METHODACCESS); 32SetErrorCode(__HResults.COR_E_METHODACCESS);
system\missingfieldexception.cs (3)
26SetErrorCode(__HResults.COR_E_MISSINGFIELD); 31SetErrorCode(__HResults.COR_E_MISSINGFIELD); 36SetErrorCode(__HResults.COR_E_MISSINGFIELD);
system\missingmemberexception.cs (3)
31SetErrorCode(__HResults.COR_E_MISSINGMEMBER); 36SetErrorCode(__HResults.COR_E_MISSINGMEMBER); 41SetErrorCode(__HResults.COR_E_MISSINGMEMBER);
system\missingmethodexception.cs (3)
28SetErrorCode(__HResults.COR_E_MISSINGMETHOD); 33SetErrorCode(__HResults.COR_E_MISSINGMETHOD); 38SetErrorCode(__HResults.COR_E_MISSINGMETHOD);
system\multicastnotsupportedexception.cs (3)
21SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED); 26SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED); 31SetErrorCode(__HResults.COR_E_MULTICASTNOTSUPPORTED);
system\notfinitenumberexception.cs (6)
21SetErrorCode(__HResults.COR_E_NOTFINITENUMBER); 27SetErrorCode(__HResults.COR_E_NOTFINITENUMBER); 33SetErrorCode(__HResults.COR_E_NOTFINITENUMBER); 39SetErrorCode(__HResults.COR_E_NOTFINITENUMBER); 44SetErrorCode(__HResults.COR_E_NOTFINITENUMBER); 50SetErrorCode(__HResults.COR_E_NOTFINITENUMBER);
system\notimplementedexception.cs (3)
28SetErrorCode(__HResults.E_NOTIMPL); 32SetErrorCode(__HResults.E_NOTIMPL); 36SetErrorCode(__HResults.E_NOTIMPL);
system\notsupportedexception.cs (3)
26SetErrorCode(__HResults.COR_E_NOTSUPPORTED); 31SetErrorCode(__HResults.COR_E_NOTSUPPORTED); 36SetErrorCode(__HResults.COR_E_NOTSUPPORTED);
system\nullreferenceexception.cs (3)
25SetErrorCode(__HResults.COR_E_NULLREFERENCE); 30SetErrorCode(__HResults.COR_E_NULLREFERENCE); 35SetErrorCode(__HResults.COR_E_NULLREFERENCE);
system\objectdisposedexception.cs (2)
31SetErrorCode(__HResults.COR_E_OBJECTDISPOSED); 37SetErrorCode(__HResults.COR_E_OBJECTDISPOSED);
system\operationcanceledexception.cs (3)
37SetErrorCode(__HResults.COR_E_OPERATIONCANCELED); 42SetErrorCode(__HResults.COR_E_OPERATIONCANCELED); 47SetErrorCode(__HResults.COR_E_OPERATIONCANCELED);
system\outofmemoryexception.cs (3)
26SetErrorCode(__HResults.COR_E_OUTOFMEMORY); 31SetErrorCode(__HResults.COR_E_OUTOFMEMORY); 36SetErrorCode(__HResults.COR_E_OUTOFMEMORY);
system\overflowexception.cs (3)
26SetErrorCode(__HResults.COR_E_OVERFLOW); 31SetErrorCode(__HResults.COR_E_OVERFLOW); 36SetErrorCode(__HResults.COR_E_OVERFLOW);
system\platformnotsupportedexception.cs (3)
27SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); 32SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED); 37SetErrorCode(__HResults.COR_E_PLATFORMNOTSUPPORTED);
system\rankexception.cs (3)
27SetErrorCode(__HResults.COR_E_RANK); 32SetErrorCode(__HResults.COR_E_RANK); 37SetErrorCode(__HResults.COR_E_RANK);
system\reflection\ambiguousmatchexception.cs (3)
29SetErrorCode(__HResults.COR_E_AMBIGUOUSMATCH); 33SetErrorCode(__HResults.COR_E_AMBIGUOUSMATCH); 37SetErrorCode(__HResults.COR_E_AMBIGUOUSMATCH);
system\reflection\assembly.cs (1)
42using __HResults = System.__HResults;
system\reflection\customattributeformatexception.cs (3)
27SetErrorCode(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT); 31SetErrorCode(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT); 35SetErrorCode(__HResults.COR_E_CUSTOMATTRIBUTEFORMAT);
system\reflection\invalidfiltercriteriaexception.cs (3)
31SetErrorCode(__HResults.COR_E_INVALIDFILTERCRITERIA); 35SetErrorCode(__HResults.COR_E_INVALIDFILTERCRITERIA); 39SetErrorCode(__HResults.COR_E_INVALIDFILTERCRITERIA);
system\reflection\reflectiontypeloadexception.cs (4)
35SetErrorCode(__HResults.COR_E_REFLECTIONTYPELOAD); 40SetErrorCode(__HResults.COR_E_REFLECTIONTYPELOAD); 47SetErrorCode(__HResults.COR_E_REFLECTIONTYPELOAD); 54SetErrorCode(__HResults.COR_E_REFLECTIONTYPELOAD);
system\reflection\targetexception.cs (3)
30SetErrorCode(__HResults.COR_E_TARGET); 34SetErrorCode(__HResults.COR_E_TARGET); 38SetErrorCode(__HResults.COR_E_TARGET);
system\reflection\targetinvocationexception.cs (4)
33SetErrorCode(__HResults.COR_E_TARGETINVOCATION); 38SetErrorCode(__HResults.COR_E_TARGETINVOCATION); 43SetErrorCode(__HResults.COR_E_TARGETINVOCATION); 47SetErrorCode(__HResults.COR_E_TARGETINVOCATION);
system\reflection\targetparametercountexception.cs (3)
31SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); 36SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); 41SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT);
system\resources\missingmanifestresourceexception.cs (3)
28SetErrorCode(System.__HResults.COR_E_MISSINGMANIFESTRESOURCE); 33SetErrorCode(System.__HResults.COR_E_MISSINGMANIFESTRESOURCE); 38SetErrorCode(System.__HResults.COR_E_MISSINGMANIFESTRESOURCE);
system\resources\missingsatelliteassemblyexception.cs (4)
32SetErrorCode(System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY); 37SetErrorCode(System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY); 42SetErrorCode(System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY); 48SetErrorCode(System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY);
system\runtime\compilerservices\RuntimeWrappedException.cs (1)
28SetErrorCode(System.__HResults.COR_E_RUNTIMEWRAPPED);
system\runtime\interopservices\comexception.cs (3)
32SetErrorCode(__HResults.E_FAIL); 38SetErrorCode(__HResults.E_FAIL); 43SetErrorCode(__HResults.E_FAIL);
system\runtime\interopservices\externalexception.cs (3)
30SetErrorCode(__HResults.E_FAIL); 35SetErrorCode(__HResults.E_FAIL); 40SetErrorCode(__HResults.E_FAIL);
system\runtime\interopservices\invalidcomobjectexception.cs (3)
26SetErrorCode(__HResults.COR_E_INVALIDCOMOBJECT); 31SetErrorCode(__HResults.COR_E_INVALIDCOMOBJECT); 36SetErrorCode(__HResults.COR_E_INVALIDCOMOBJECT);
system\runtime\interopservices\invalidolevarianttypeexception.cs (3)
24SetErrorCode(__HResults.COR_E_INVALIDOLEVARIANTTYPE); 29SetErrorCode(__HResults.COR_E_INVALIDOLEVARIANTTYPE); 34SetErrorCode(__HResults.COR_E_INVALIDOLEVARIANTTYPE);
system\runtime\interopservices\marshaldirectiveexception.cs (3)
26SetErrorCode(__HResults.COR_E_MARSHALDIRECTIVE); 31SetErrorCode(__HResults.COR_E_MARSHALDIRECTIVE); 36SetErrorCode(__HResults.COR_E_MARSHALDIRECTIVE);
system\runtime\interopservices\safearrayrankmismatchexception.cs (3)
24SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); 29SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH); 34SetErrorCode(__HResults.COR_E_SAFEARRAYRANKMISMATCH);
system\runtime\interopservices\safearraytypemismatchexception.cs (3)
25SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); 30SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH); 35SetErrorCode(__HResults.COR_E_SAFEARRAYTYPEMISMATCH);
system\runtime\interopservices\sehexception.cs (3)
27SetErrorCode(__HResults.E_FAIL); 32SetErrorCode(__HResults.E_FAIL); 37SetErrorCode(__HResults.E_FAIL);
system\runtime\interopservices\typelibconverter.cs (2)
558if (e.ResourceId != System.__HResults.COR_E_TYPELOAD) // type not found 571if (e._HResult != System.__HResults.COR_E_TYPELOAD) // type not found
system\runtime\interopservices\windowsruntime\bindablevectortolistadapter.cs (4)
183if (__HResults.E_BOUNDS == ex._HResult) 201if (__HResults.E_BOUNDS == ex._HResult) 219if (__HResults.E_BOUNDS == ex._HResult) 237if (__HResults.E_BOUNDS == ex._HResult)
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (24)
135throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Char16"), __HResults.TYPE_E_TYPEMISMATCH); 144throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Boolean"), __HResults.TYPE_E_TYPEMISMATCH); 159throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Inspectable"), __HResults.TYPE_E_TYPEMISMATCH); 176throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "DateTime"), __HResults.TYPE_E_TYPEMISMATCH); 185throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "TimeSpan"), __HResults.TYPE_E_TYPEMISMATCH); 195throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Point"), __HResults.TYPE_E_TYPEMISMATCH); 206throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Size"), __HResults.TYPE_E_TYPEMISMATCH); 217throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Rect"), __HResults.TYPE_E_TYPEMISMATCH); 281throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Char16[]"), __HResults.TYPE_E_TYPEMISMATCH); 290throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Boolean[]"), __HResults.TYPE_E_TYPEMISMATCH); 305throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Inspectable[]"), __HResults.TYPE_E_TYPEMISMATCH); 320throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "DateTimeOffset[]"), __HResults.TYPE_E_TYPEMISMATCH); 329throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "TimeSpan[]"), __HResults.TYPE_E_TYPEMISMATCH); 339throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Point[]"), __HResults.TYPE_E_TYPEMISMATCH); 350throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Size[]"), __HResults.TYPE_E_TYPEMISMATCH); 362throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, "Rect[]"), __HResults.TYPE_E_TYPEMISMATCH); 377throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", this.Type, typeof(T).MakeArrayType().Name), __HResults.TYPE_E_TYPEMISMATCH); 414throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", type, typeof(T).Name), __HResults.TYPE_E_TYPEMISMATCH); 437throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", type, typeof(T).Name), __HResults.TYPE_E_TYPEMISMATCH); 440throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", type, typeof(T).Name), __HResults.TYPE_E_TYPEMISMATCH); 443throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueCoersion", type, value, typeof(T).Name), __HResults.DISP_E_OVERFLOW); 483throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", type, typeof(T).Name), __HResults.TYPE_E_TYPEMISMATCH); 518throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", _data.GetType(), expectedBoxedType.Name), __HResults.TYPE_E_TYPEMISMATCH); 540throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueElement", _data.GetType(), expectedArrayElementType.MakeArrayType().Name), __HResults.TYPE_E_TYPEMISMATCH);
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (2)
69e.SetErrorCode(__HResults.E_BOUNDS); 142e.SetErrorCode(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\dictionarytomapadapter.cs (2)
48e.SetErrorCode(__HResults.E_BOUNDS); 108e.SetErrorCode(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\enumeratortoiteratoradapter.cs (2)
101throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, null); 140throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_CHANGED_STATE, e);
system\runtime\interopservices\windowsruntime\imapviewtoireadonlydictionaryadapter.cs (2)
103if (__HResults.E_BOUNDS == ex._HResult) 124if (__HResults.E_BOUNDS == ex._HResult)
system\runtime\interopservices\windowsruntime\ireadonlydictionarytoimapviewadapter.cs (1)
48e.SetErrorCode(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\ireadonlylisttoivectorviewadapter.cs (2)
50ex.SetErrorCode(__HResults.E_BOUNDS); 137e.SetErrorCode(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\iteratortoenumeratoradapter.cs (1)
192if (Marshal.GetHRForException(e) == __HResults.E_CHANGED_STATE)
system\runtime\interopservices\windowsruntime\ivectorviewtoireadonlylistadapter.cs (1)
57if (__HResults.E_BOUNDS == ex._HResult)
system\runtime\interopservices\windowsruntime\listtobindablevectoradapter.cs (6)
50throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange"); 100throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange"); 121ex.SetErrorCode(__HResults.E_BOUNDS); 140ex.SetErrorCode(__HResults.E_BOUNDS); 161e.SetErrorCode(__HResults.E_BOUNDS); 186e.SetErrorCode(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\listtobindablevectorviewadapter.cs (2)
45e.SetErrorCode(__HResults.E_BOUNDS); 71throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange");
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (6)
50throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange"); 109throw WindowsRuntimeMarshal.GetExceptionForHR(__HResults.E_BOUNDS, ex, "ArgumentOutOfRange_IndexOutOfRange"); 130ex.SetErrorCode(__HResults.E_BOUNDS); 149ex.SetErrorCode(__HResults.E_BOUNDS); 170e.SetErrorCode(__HResults.E_BOUNDS); 219e.SetErrorCode(__HResults.E_BOUNDS);
system\runtime\interopservices\windowsruntime\maptodictionaryadapter.cs (2)
126if (__HResults.E_BOUNDS == ex._HResult) 172if (__HResults.E_BOUNDS == ex._HResult)
system\runtime\interopservices\windowsruntime\vectortolistadapter.cs (4)
112if (__HResults.E_BOUNDS == ex._HResult) 130if (__HResults.E_BOUNDS == ex._HResult) 148if (__HResults.E_BOUNDS == ex._HResult) 166if (__HResults.E_BOUNDS == ex._HResult)
system\runtime\interopservices\windowsruntime\winrtclassactivator.cs (1)
56throw new COMException(__HResults.REGDB_E_CLASSNOTREG);
system\runtime\serialization\serializationexception.cs (3)
31SetErrorCode(__HResults.COR_E_SERIALIZATION); 36SetErrorCode(__HResults.COR_E_SERIALIZATION); 40SetErrorCode(__HResults.COR_E_SERIALIZATION);
system\security\codeaccesssecurityengine.cs (1)
750System.__HResults.CORSEC_E_NO_EXEC_PERM);
system\security\cryptography\crypto.cs (8)
89SetErrorCode(__HResults.CORSEC_E_CRYPTO); 94SetErrorCode(__HResults.CORSEC_E_CRYPTO); 99SetErrorCode(__HResults.CORSEC_E_CRYPTO); 104SetErrorCode(__HResults.CORSEC_E_CRYPTO); 145SetErrorCode(__HResults.CORSEC_E_CRYPTO_UNEX_OPER); 150SetErrorCode(__HResults.CORSEC_E_CRYPTO_UNEX_OPER); 155SetErrorCode(__HResults.CORSEC_E_CRYPTO_UNEX_OPER); 160SetErrorCode(__HResults.CORSEC_E_CRYPTO_UNEX_OPER);
system\security\hostprotectionexception.cs (2)
68SetErrorCode(__HResults.COR_E_HOSTPROTECTION); 77SetErrorCode(__HResults.COR_E_HOSTPROTECTION);
system\security\policy\policyexception.cs (3)
24HResult = __HResults.CORSEC_E_POLICY_EXCEPTION; 30HResult = __HResults.CORSEC_E_POLICY_EXCEPTION; 36HResult = __HResults.CORSEC_E_POLICY_EXCEPTION;
system\security\securityexception.cs (9)
164SetErrorCode(System.__HResults.COR_E_SECURITY); 171SetErrorCode(System.__HResults.COR_E_SECURITY); 180SetErrorCode(System.__HResults.COR_E_SECURITY); 190SetErrorCode(System.__HResults.COR_E_SECURITY); 199SetErrorCode(System.__HResults.COR_E_SECURITY); 209SetErrorCode(System.__HResults.COR_E_SECURITY); 222SetErrorCode(System.__HResults.COR_E_SECURITY); 276SetErrorCode(System.__HResults.COR_E_SECURITY); 310SetErrorCode(System.__HResults.COR_E_SECURITY);
system\security\securitymanager.cs (2)
490System.__HResults.CORSEC_E_NO_EXEC_PERM, 504System.__HResults.CORSEC_E_MIN_GRANT_FAIL,
system\security\verificationexception.cs (3)
18SetErrorCode(__HResults.COR_E_VERIFICATION); 23SetErrorCode(__HResults.COR_E_VERIFICATION); 28SetErrorCode(__HResults.COR_E_VERIFICATION);
system\security\xmlsyntaxexception.cs (5)
21SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); 28SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); 35SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); 42SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX); 49SetErrorCode(__HResults.CORSEC_E_XMLSYNTAX);
system\stackoverflowexception.cs (3)
25SetErrorCode(__HResults.COR_E_STACKOVERFLOW); 30SetErrorCode(__HResults.COR_E_STACKOVERFLOW); 35SetErrorCode(__HResults.COR_E_STACKOVERFLOW);
system\systemexception.cs (3)
16SetErrorCode(__HResults.COR_E_SYSTEM); 21SetErrorCode(__HResults.COR_E_SYSTEM); 26SetErrorCode(__HResults.COR_E_SYSTEM);
system\text\decoderexceptionfallback.cs (3)
116SetErrorCode(__HResults.COR_E_ARGUMENT); 122SetErrorCode(__HResults.COR_E_ARGUMENT); 128SetErrorCode(__HResults.COR_E_ARGUMENT);
system\text\encoderexceptionfallback.cs (3)
119SetErrorCode(__HResults.COR_E_ARGUMENT); 125SetErrorCode(__HResults.COR_E_ARGUMENT); 131SetErrorCode(__HResults.COR_E_ARGUMENT);
system\threading\abandonedmutexexception.cs (6)
30SetErrorCode(__HResults.COR_E_ABANDONEDMUTEX); 35SetErrorCode(__HResults.COR_E_ABANDONEDMUTEX); 40SetErrorCode(__HResults.COR_E_ABANDONEDMUTEX); 45SetErrorCode(__HResults.COR_E_ABANDONEDMUTEX); 51SetErrorCode(__HResults.COR_E_ABANDONEDMUTEX); 57SetErrorCode(__HResults.COR_E_ABANDONEDMUTEX);
system\threading\synchronizationlockexception.cs (3)
28SetErrorCode(__HResults.COR_E_SYNCHRONIZATIONLOCK); 33SetErrorCode(__HResults.COR_E_SYNCHRONIZATIONLOCK); 38SetErrorCode(__HResults.COR_E_SYNCHRONIZATIONLOCK);
system\threading\threadabortexception.cs (1)
40SetErrorCode(__HResults.COR_E_THREADABORTED);
system\threading\threadinterruptedexception.cs (3)
28SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); 33SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); 38SetErrorCode(__HResults.COR_E_THREADINTERRUPTED);
system\threading\threadstartexception.cs (2)
21SetErrorCode(__HResults.COR_E_THREADSTART); 27SetErrorCode(__HResults.COR_E_THREADSTART);
system\threading\threadstateexception.cs (3)
27SetErrorCode(__HResults.COR_E_THREADSTATE); 32SetErrorCode(__HResults.COR_E_THREADSTATE); 37SetErrorCode(__HResults.COR_E_THREADSTATE);
system\threading\waithandlecannotbeopenedexception.cs (3)
24SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED); 29SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED); 34SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED);
system\timeoutexception.cs (3)
26SetErrorCode(__HResults.COR_E_TIMEOUT); 31SetErrorCode(__HResults.COR_E_TIMEOUT); 36SetErrorCode(__HResults.COR_E_TIMEOUT);
system\typeaccessexception.cs (4)
20SetErrorCode(__HResults.COR_E_TYPEACCESS); 26SetErrorCode(__HResults.COR_E_TYPEACCESS); 32SetErrorCode(__HResults.COR_E_TYPEACCESS); 38SetErrorCode(__HResults.COR_E_TYPEACCESS);
system\typeinitializationexception.cs (3)
33SetErrorCode(__HResults.COR_E_TYPEINITIALIZATION); 39SetErrorCode(__HResults.COR_E_TYPEINITIALIZATION); 44SetErrorCode(__HResults.COR_E_TYPEINITIALIZATION);
system\typeloadexception.cs (4)
34SetErrorCode(__HResults.COR_E_TYPELOAD); 39SetErrorCode(__HResults.COR_E_TYPELOAD); 44SetErrorCode(__HResults.COR_E_TYPELOAD); 95SetErrorCode(__HResults.COR_E_TYPELOAD);
system\typeunloadedexception.cs (3)
25SetErrorCode(__HResults.COR_E_TYPEUNLOADED); 30SetErrorCode(__HResults.COR_E_TYPEUNLOADED); 35SetErrorCode(__HResults.COR_E_TYPEUNLOADED);
system\unauthorizedaccessexception.cs (3)
29SetErrorCode(__HResults.COR_E_UNAUTHORIZEDACCESS); 34SetErrorCode(__HResults.COR_E_UNAUTHORIZEDACCESS); 39SetErrorCode(__HResults.COR_E_UNAUTHORIZEDACCESS);