1 write to _managed
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComVariantMarshaller.cs (1)
236
public void FromManaged(object? managed) =>
_managed
= managed;
5 references to _managed
System.Runtime.InteropServices (5)
System\Runtime\InteropServices\Marshalling\ComVariantMarshaller.cs (5)
247
return ConvertToUnmanaged(
_managed
);
250
if (
_managed
is null
262
switch ((_unmanaged.VarType & ~VarEnum.VT_BYREF,
_managed
))
265
*(ComVariant*)_unmanaged.GetRawDataRef<nint>() = ConvertToUnmanaged(
_managed
);
330
throw new ArgumentException("Invalid combination of unmanaged variant type and managed object type.", nameof(
_managed
));