8 references to ToOACurrency
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\ComInterop\DynamicVariantExtensions.cs (1)
397variant = ComVariant.CreateRaw(VarEnum.VT_CY, decimal.ToOACurrency(value));
src\runtime\src\libraries\Common\src\System\Runtime\InteropServices\BuiltInVariantExtensions.cs (1)
114variant.GetByRefDataRef<long>() = decimal.ToOACurrency((decimal)value);
Microsoft.Private.Windows.Core (1)
Windows\Win32\System\Com\CY.cs (1)
18public static explicit operator CY(decimal value) => new() { int64 = decimal.ToOACurrency(value) };
System.Data.OleDb (1)
ColumnBinding.cs (1)
806RowBinding.WriteInt64(ValueOffset, decimal.ToOACurrency(value));
System.Private.CoreLib (2)
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (1)
207return decimal.ToOACurrency(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\ComVariant.cs (1)
287variant._typeUnion._unionTypes._cy = decimal.ToOACurrency(((CurrencyWrapper)(object)value).WrappedObject);
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);