2 writes to int64
Microsoft.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) };
6 references to int64
Microsoft.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)
953
VT_CY => decimal.FromOACurrency(value.data.cyVal.
int64
),