15 references to Subtract
System.Private.Xml (15)
System\Xml\Xsl\IlGen\GenerateHelper.cs (2)
962
case QilNodeType.
Subtract
: Emit(OpCodes.Sub); break;
975
case QilNodeType.
Subtract
: meth = XmlILMethods.DecSub; break;
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (9)
1403
if ((IsLiteral((local2))) && (CanFoldArithmetic(QilNodeType.
Subtract
, (QilLiteral)local1, (QilLiteral)local2)))
1408
return Replace(XmlILOptimization.EliminateSubtract, local0, FoldArithmetic(QilNodeType.
Subtract
, (QilLiteral)local1, (QilLiteral)local2));
1905
if ((IsLiteral((local2))) && (CanFoldArithmetic(QilNodeType.
Subtract
, (QilLiteral)local2, (QilLiteral)local4)))
1910
return Replace(XmlILOptimization.NormalizeAddEq, local0, VisitEq(f.Eq(local3, FoldArithmetic(QilNodeType.
Subtract
, (QilLiteral)local2, (QilLiteral)local4))));
5506
case QilNodeType.
Subtract
: return f.LiteralInt32(intLeft - intRight);
5522
case QilNodeType.
Subtract
: return f.LiteralInt64(lngLeft - lngRight);
5538
case QilNodeType.
Subtract
: return f.LiteralDecimal(lngLeft - lngRight);
5554
case QilNodeType.
Subtract
: return f.LiteralDouble(lngLeft - lngRight);
5575
case QilNodeType.
Subtract
: return f.Subtract(left, right);
System\Xml\Xsl\QIL\QilFactory.cs (1)
462
QilBinary n = new QilBinary(QilNodeType.
Subtract
, left, right);
System\Xml\Xsl\QIL\QilTypeChecker.cs (1)
79
QilNodeType.
Subtract
=> CheckSubtract((QilBinary)n),
System\Xml\Xsl\QIL\QilVisitor.cs (1)
162
QilNodeType.
Subtract
=> VisitSubtract((QilBinary)n),
System\Xml\Xsl\XPath\XPathBuilder.cs (1)
719
/*Minus */ QilNodeType.
Subtract
,