1 instantiation of DECIMAL
System.Private.Windows.Core (1)
Windows.Win32.DECIMAL.g.cs (1)
71 public static implicit operator DECIMAL(decimal value) => new DECIMAL(value);
46 references to DECIMAL
System.Private.Windows.Core (11)
Windows.Win32.DECIMAL.g.cs (2)
63 public static implicit operator decimal(DECIMAL value) 71 public static implicit operator DECIMAL(decimal value) => new DECIMAL(value);
Windows.Win32.PROPVARIANT.g.cs (2)
42 internal winmdroot.Foundation.DECIMAL decVal; 254 internal unsafe winmdroot.Foundation.DECIMAL* pdecVal;
Windows.Win32.VARIANT.g.cs (2)
39 internal winmdroot.Foundation.DECIMAL decVal; 173 internal unsafe winmdroot.Foundation.DECIMAL* pdecVal;
Windows\Win32\System\Variant\VARIANT.cs (5)
172return ((DECIMAL*)data)->ToDecimal(); 340Span<DECIMAL> data = new(psa->pvData, array.Length); 567DECIMAL data = psa->GetValue<DECIMAL>(indices); 722return (uint)sizeof(DECIMAL);
System.Windows.Forms.Primitives.Tests (35)
Interop\Oleaut32\DECIMALTests.cs (5)
14Assert.Equal(16, Marshal.SizeOf<DECIMAL>()); 15Assert.Equal(16, sizeof(DECIMAL)); 21DECIMAL dec = default; 33HRESULT hr = VarDecFromR8(value, out DECIMAL dec); 39private static extern HRESULT VarDecFromR8(double dblIn, out DECIMAL pdecOut);
Interop\Oleaut32\VARIANTTests.cs (30)
1063VarDecFromI8(i8, out DECIMAL d); 1081VarDecFromR8(r8, out DECIMAL d); 1088yield return new object[] { default(DECIMAL), 0.0m }; 1096*(DECIMAL*)(&variant) = (DECIMAL)d; 1105DECIMAL asD = (DECIMAL)d; 3989yield return new object[] { Array.Empty<DECIMAL>(), Array.Empty<decimal>() }; 3991VarDecFromR8(1.1, out DECIMAL d1); 3992VarDecFromR8(2.2, out DECIMAL d2); 3993VarDecFromR8(3.3, out DECIMAL d3); 3994yield return new object[] { new DECIMAL[] { d1, d2, d3 }, new decimal[] { 1.1m, 2.2m, 3.3m } }; 4001DECIMAL[] decimalResult = (DECIMAL[])result; 4027DECIMAL[] decimalResult = (DECIMAL[])result; 4050yield return new object[] { new DECIMAL[0, 0], new decimal[0, 0] }; 4051VarDecFromR8(1.1, out DECIMAL d1); 4052VarDecFromR8(2.2, out DECIMAL d2); 4053VarDecFromR8(3.3, out DECIMAL d3); 4054VarDecFromR8(3.1, out DECIMAL d4); 4055VarDecFromR8(2.2, out DECIMAL d5); 4056VarDecFromR8(1.3, out DECIMAL d6); 4059new DECIMAL[2, 3] 4076DECIMAL[,] decimalResult = (DECIMAL[,])result; 4104DECIMAL[,] decimalResult = (DECIMAL[,])result; 5861private static extern HRESULT VarDecFromI8(long i64In, out DECIMAL pdecOut); 5864private static extern HRESULT VarDecFromR8(double dblIn, out DECIMAL pdecOut);