17 references to Error
Microsoft.CSharp (17)
Microsoft\CSharp\RuntimeBinder\ComInterop\BoundDispEvent.cs (1)
69throw Error.UnsupportedHandlerType();
Microsoft\CSharp\RuntimeBinder\ComInterop\ComEventSinksContainer.cs (1)
44throw Error.SetComObjectDataFailed();
Microsoft\CSharp\RuntimeBinder\ComInterop\ComObject.cs (1)
57throw Error.SetComObjectDataFailed();
Microsoft\CSharp\RuntimeBinder\ComInterop\ComRuntimeHelpers.cs (9)
33throw Error.DispBadParamCount(message); 47throw Error.DispMemberNotFound(message); 51throw Error.DispNoNamedArgs(message); 55throw Error.DispOverflow(message); 65throw Error.DispTypeMismatch(argErr, message); 78throw Error.DispParamNotOptional(message); 178throw Error.CannotRetrieveTypeInformation(); 199throw Error.CannotRetrieveTypeInformation(); 338throw Error.GetIDsOfNamesInvalid(names[0]);
Microsoft\CSharp\RuntimeBinder\ComInterop\IDispatchComObject.cs (3)
228throw Error.CouldNotGetDispId(name, $"0x{(uint)hresult:X})"); 264throw Error.CouldNotGetDispId(name, $"0x{(uint)hresult:X})"); 329throw Error.CannotRetrieveTypeInformation();
Microsoft\CSharp\RuntimeBinder\ComInterop\VarEnumSelector.cs (2)
86throw Error.UnexpectedVarEnum(varEnum); 193throw Error.AmbiguousConversion(argumentType.Name, typeNames);