21 references to ComHresults
Microsoft.CSharp (21)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComRuntimeHelpers.cs (17)
23if (ComHresults.IsSuccess(hresult)) 30case ComHresults.DISP_E_BADPARAMCOUNT: 35case ComHresults.DISP_E_BADVARTYPE: 39case ComHresults.DISP_E_EXCEPTION: 44case ComHresults.DISP_E_MEMBERNOTFOUND: 49case ComHresults.DISP_E_NONAMEDARGS: 53case ComHresults.DISP_E_OVERFLOW: 57case ComHresults.DISP_E_PARAMNOTFOUND: 62case ComHresults.DISP_E_TYPEMISMATCH: 67case ComHresults.DISP_E_UNKNOWNINTERFACE: 71case ComHresults.DISP_E_UNKNOWNLCID: 76case ComHresults.DISP_E_PARAMNOTOPTIONAL: 135if (!ComHresults.IsSuccess(hresult)) 139if (hresult == ComHresults.E_NOINTERFACE) 147Debug.Assert(hresult == ComHresults.TYPE_E_LIBNOTREGISTERED); 154Marshal.ThrowExceptionForHR(ComHresults.E_FAIL); 311if (hresult == ComHresults.DISP_E_MEMBERNOTFOUND
Microsoft\CSharp\RuntimeBinder\ComInterop\IDispatchComObject.cs (4)
214if (hresult == ComHresults.S_OK) 222if (hresult == ComHresults.DISP_E_UNKNOWNNAME) 237if (hresult == ComHresults.S_OK) 258if (hresult == ComHresults.DISP_E_UNKNOWNNAME)