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