3 references to TargetInterfaceIID
System.Runtime.InteropServices (3)
System\Runtime\InteropServices\Marshalling\ComInterfaceMarshaller.cs (3)
74if (TargetInterfaceIID is null) 79if (Marshal.QueryInterface(unknown, in Nullable.GetValueRefOrDefaultRef(in TargetInterfaceIID), out nint interfacePointer) != 0) 82throw new InvalidCastException($"Unable to cast the provided managed object to a COM interface with ID '{TargetInterfaceIID.GetValueOrDefault():B}'");