18 references to Truncate
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (1)
1113
while (Decimal.
Truncate
(value) != value)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaParticle.cs (2)
111
if (value < decimal.Zero || value != decimal.
Truncate
(value))
130
if (value < decimal.Zero || value != decimal.
Truncate
(value))
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (1)
1133
return XmlConvert.ToString(decimal.
Truncate
((decimal)value));
Microsoft.CodeAnalysis.VisualBasic (1)
Preprocessor\ExpressionEvaluator.vb (1)
1474
ResultValue = Decimal.
Truncate
(ResultValue)
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (1)
1468
decTrunc = decimal.
Truncate
(src.Val.DecimalVal);
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (3)
1399
decimal truncatedValue =
Truncate
(value);
1413
public static bool IsInteger(decimal value) => value ==
Truncate
(value);
1430
decimal truncatedValue =
Truncate
(value);
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
473
value = decimal.
Truncate
(value);
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1496
return decimal.
Truncate
(d);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
496
value = decimal.
Truncate
(value);
System.Private.Xml (5)
System\Xml\Schema\FacetChecker.cs (1)
1101
while (decimal.
Truncate
(value) != value)
System\Xml\Schema\XmlSchemaParticle.cs (2)
90
if (value < decimal.Zero || value != decimal.
Truncate
(value))
105
if (value < decimal.Zero || value != decimal.
Truncate
(value))
System\Xml\Schema\XmlValueConverter.cs (1)
982
return XmlConvert.ToString(decimal.
Truncate
((decimal)value));
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
923
if (dec >= (decimal)int.MinValue && dec <= (decimal)int.MaxValue && decimal.
Truncate
(dec) == dec)
System.Runtime.Numerics (1)
System\Numerics\BigInteger.cs (1)
228
decimal.GetBits(decimal.
Truncate
(value), bits);