4 references to ToOACurrency
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ComVariant.cs (1)
288variant._typeUnion._unionTypes._cy = decimal.ToOACurrency(((CurrencyWrapper)(object)value).WrappedObject);
src\System\Currency.cs (1)
14m_value = decimal.ToOACurrency(value);
System.Private.Windows.Core (1)
Windows\Win32\System\Com\CY.cs (1)
18public static explicit operator CY(decimal value) => new() { int64 = decimal.ToOACurrency(value) };
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComVariantMarshaller.cs (1)
324*(long*)_unmanaged.GetRawDataRef<nint>() = decimal.ToOACurrency(cy.WrappedObject);