System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (49)
136if (IsLiteral(binding))
1344if (IsLiteral((local1)))
1346if ((IsLiteral((local2))) && (CanFoldArithmetic(QilNodeType.Add, (QilLiteral)local1, (QilLiteral)local2)))
1358if (IsLiteral((local1)))
1360if (!(IsLiteral((local2))))
1401if (IsLiteral((local1)))
1403if ((IsLiteral((local2))) && (CanFoldArithmetic(QilNodeType.Subtract, (QilLiteral)local1, (QilLiteral)local2)))
1444if (IsLiteral((local1)))
1446if ((IsLiteral((local2))) && (CanFoldArithmetic(QilNodeType.Multiply, (QilLiteral)local1, (QilLiteral)local2)))
1458if (IsLiteral((local1)))
1460if (!(IsLiteral((local2))))
1501if (IsLiteral((local1)))
1503if ((IsLiteral((local2))) && (CanFoldArithmetic(QilNodeType.Divide, (QilLiteral)local1, (QilLiteral)local2)))
1544if (IsLiteral((local1)))
1546if ((IsLiteral((local2))) && (CanFoldArithmetic(QilNodeType.Modulo, (QilLiteral)local1, (QilLiteral)local2)))
1712if (IsLiteral((local1)))
1714if (IsLiteral((local2)))
1726if (IsLiteral((local1)))
1728if (!(IsLiteral((local2))))
1749if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).XmlType!)))
1848if (IsLiteral((local1)))
1850if (IsLiteral((local2)))
1862if (IsLiteral((local1)))
1864if (!(IsLiteral((local2))))
1885if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).XmlType!)))
1903if (IsLiteral((local4)))
1905if ((IsLiteral((local2))) && (CanFoldArithmetic(QilNodeType.Subtract, (QilLiteral)local2, (QilLiteral)local4)))
2118if (IsLiteral((local1)))
2120if (IsLiteral((local2)))
2132if (IsLiteral((local1)))
2134if (!(IsLiteral((local2))))
2155if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).XmlType!)))
2232if (IsLiteral((local1)))
2234if (IsLiteral((local2)))
2246if (IsLiteral((local1)))
2248if (!(IsLiteral((local2))))
2269if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).XmlType!)))
2327if (IsLiteral((local1)))
2329if (IsLiteral((local2)))
2341if (IsLiteral((local1)))
2343if (!(IsLiteral((local2))))
2364if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).XmlType!)))
2422if (IsLiteral((local1)))
2424if (IsLiteral((local2)))
2436if (IsLiteral((local1)))
2438if (!(IsLiteral((local2))))
2459if ((IsLiteral((local2))) && (CanFoldXsltConvertNonLossy(local2, (local3).XmlType!)))
4910if (IsLiteral((local1)))
5279if (!IsLiteral(child))