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