3 writes to int64
System.Private.Windows.Core (2)
Windows\Win32\System\Com\CY.cs (2)
18public static explicit operator CY(decimal value) => new() { int64 = decimal.ToOACurrency(value) }; 21public static explicit operator CY(float value) => new() { int64 = (long)(value * 10000) };
System.Windows.Forms.Primitives.Tests (1)
Interop\Oleaut32\VARIANTTests.cs (1)
740Anonymous = new() { cyVal = new() { int64 = value } }
10 references to int64
System.Private.Windows.Core (6)
Windows\Win32\System\Com\CY.cs (5)
8public readonly bool Equals(CY other) => int64 == other.int64; 10public override readonly int GetHashCode() => int64.GetHashCode(); 17public static explicit operator decimal(CY value) => decimal.FromOACurrency(value.int64); 20public static explicit operator float(CY value) => (float)(value.int64 / 10000f);
Windows\Win32\System\Variant\VARIANT.cs (1)
944VT_CY => decimal.FromOACurrency(value.data.cyVal.int64),
System.Windows.Forms.Tests (4)
System\Windows\Forms\AxHostTests.cs (4)
1452Assert.Equal(97500, iFont.Size.int64); 1482Assert.Equal(97500, iFont.Size.int64); 1527Assert.Equal(97500, iFont.Size.int64); 1549Assert.Equal(97500, iFont.Size.int64);