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