1 write to f
System.Data.SqlXml (1)
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (1)
23
this.
f
= f;
312 references to f
System.Data.SqlXml (312)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (311)
128
return Replace(XmlILOptimization.EliminateLiteralVariables, newNode, binding.ShallowClone(
f
));
262
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
270
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
294
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
307
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
340
return Replace(XmlILOptimization.EliminatePositionOf, local0, VisitLiteralInt32(
f
.LiteralInt32(1)));
350
return Replace(XmlILOptimization.EliminatePositionOf, local0, VisitLiteralInt32(
f
.LiteralInt32(1)));
376
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
384
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
430
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
438
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
483
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
491
return Replace(XmlILOptimization.EliminateNot, local0, VisitFalse(
f
.False()));
499
return Replace(XmlILOptimization.EliminateNot, local0, VisitTrue(
f
.True()));
517
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
552
return Replace(XmlILOptimization.EliminateConditional, local0, VisitNot(
f
.Not(local1)));
562
return Replace(XmlILOptimization.FoldConditionalNot, local0, VisitConditional(
f
.Conditional(local4, local3, local2)));
573
return Replace(XmlILOptimization.NormalizeConditionalText, local0, VisitTextCtor(
f
.TextCtor(VisitConditional(
f
.Conditional(local1, local4, local5)))));
602
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
611
return Replace(XmlILOptimization.EliminateLength, local0, VisitLiteralInt32(
f
.LiteralInt32(0)));
620
return Replace(XmlILOptimization.EliminateLength, local0, VisitLiteralInt32(
f
.LiteralInt32(1)));
628
return Replace(XmlILOptimization.IntroducePrecedingDod, local0, VisitLength(
f
.Length(VisitDocOrderDistinct(
f
.DocOrderDistinct(local1)))));
645
QilNode local1 = VisitSequence(
f
.Sequence());
668
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
676
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
684
return Replace(XmlILOptimization.EliminateUnion, local0, VisitDocOrderDistinct(
f
.DocOrderDistinct(local1)));
693
return Replace(XmlILOptimization.EliminateUnion, local0, VisitDocOrderDistinct(
f
.DocOrderDistinct(local2)));
703
return Replace(XmlILOptimization.EliminateUnion, local0, VisitDocOrderDistinct(
f
.DocOrderDistinct(local1)));
722
return Replace(XmlILOptimization.NormalizeUnion, local0, VisitUnion(
f
.Union(VisitDocOrderDistinct(
f
.DocOrderDistinct(local1)), VisitDocOrderDistinct(
f
.DocOrderDistinct(local2)))));
750
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
758
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
766
return Replace(XmlILOptimization.EliminateIntersection, local0, VisitDocOrderDistinct(
f
.DocOrderDistinct(local1)));
804
return Replace(XmlILOptimization.NormalizeIntersect, local0, VisitIntersection(
f
.Intersection(VisitDocOrderDistinct(
f
.DocOrderDistinct(local1)), VisitDocOrderDistinct(
f
.DocOrderDistinct(local2)))));
823
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
831
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
850
return Replace(XmlILOptimization.EliminateDifference, local0, VisitDocOrderDistinct(
f
.DocOrderDistinct(local1)));
859
return Replace(XmlILOptimization.EliminateDifference, local0, VisitSequence(
f
.Sequence()));
868
return Replace(XmlILOptimization.EliminateDifference, local0, VisitSequence(
f
.Sequence()));
877
return Replace(XmlILOptimization.NormalizeDifference, local0, VisitDifference(
f
.Difference(VisitDocOrderDistinct(
f
.DocOrderDistinct(local1)), VisitDocOrderDistinct(
f
.DocOrderDistinct(local2)))));
895
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
903
return Replace(XmlILOptimization.EliminateAverage, local0, VisitNop(
f
.Nop(local1)));
916
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
924
return Replace(XmlILOptimization.EliminateSum, local0, VisitNop(
f
.Nop(local1)));
937
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
945
return Replace(XmlILOptimization.EliminateMinimum, local0, VisitNop(
f
.Nop(local1)));
958
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
966
return Replace(XmlILOptimization.EliminateMaximum, local0, VisitNop(
f
.Nop(local1)));
982
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
991
return Replace(XmlILOptimization.EliminateNegate, local0, VisitLiteralDecimal(
f
.LiteralDecimal( -local2 )));
1000
return Replace(XmlILOptimization.EliminateNegate, local0, VisitLiteralDouble(
f
.LiteralDouble( -local2 )));
1009
return Replace(XmlILOptimization.EliminateNegate, local0, VisitLiteralInt32(
f
.LiteralInt32( -local2 )));
1018
return Replace(XmlILOptimization.EliminateNegate, local0, VisitLiteralInt64(
f
.LiteralInt64( -local2 )));
1032
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1040
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1059
return Replace(XmlILOptimization.NormalizeAddLiteral, local0, VisitAdd(
f
.Add(local2, local1)));
1074
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1082
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1106
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1114
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1133
return Replace(XmlILOptimization.NormalizeMultiplyLiteral, local0, VisitMultiply(
f
.Multiply(local2, local1)));
1148
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1156
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1180
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1188
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1214
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1223
return Replace(XmlILOptimization.EliminateStrLength, local0, VisitLiteralInt32(
f
.LiteralInt32( local2.Length )));
1237
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1245
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1252
return Replace(XmlILOptimization.EliminateStrConcatSingle, local0, VisitNop(
f
.Nop(local2)));
1268
return Replace(XmlILOptimization.EliminateStrConcat, local0, VisitLiteralString(
f
.LiteralString( concat.GetResult() )));
1284
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1292
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1309
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1317
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1336
return Replace(XmlILOptimization.NormalizeNeLiteral, local0, VisitNe(
f
.Ne(local2, local1)));
1351
return Replace(XmlILOptimization.NormalizeXsltConvertNe, local0, VisitNe(
f
.Ne(local3, FoldXsltConvert(local2, (local3).XmlType ) )));
1367
return Replace(XmlILOptimization.NormalizeIdNe, local0, VisitNot(
f
.Not(VisitIs(
f
.Is(local3, local4)))));
1382
return Replace(XmlILOptimization.NormalizeLengthNe, local0, VisitNot(
f
.Not(VisitIsEmpty(
f
.IsEmpty(local3)))));
1408
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1416
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1435
return Replace(XmlILOptimization.NormalizeEqLiteral, local0, VisitEq(
f
.Eq(local2, local1)));
1450
return Replace(XmlILOptimization.NormalizeXsltConvertEq, local0, VisitEq(
f
.Eq(local3, FoldXsltConvert(local2, (local3).XmlType ) )));
1465
return Replace(XmlILOptimization.NormalizeAddEq, local0, VisitEq(
f
.Eq(local3, FoldArithmetic(QilNodeType.Subtract, (QilLiteral) local2, (QilLiteral) local4) )));
1480
return Replace(XmlILOptimization.NormalizeIdEq, local0, VisitIs(
f
.Is(local3, local4)));
1504
QilNode local10 = VisitFor(
f
.For(local7));
1505
return Replace(XmlILOptimization.NormalizeIdEq, local0, VisitNot(
f
.Not(VisitIsEmpty(
f
.IsEmpty(VisitFilter(
f
.Filter(local10, VisitIs(
f
.Is(local3, local10)))))))));
1533
QilNode local10 = VisitFor(
f
.For(local6));
1534
return Replace(XmlILOptimization.NormalizeIdEq, local0, VisitNot(
f
.Not(VisitIsEmpty(
f
.IsEmpty(VisitFilter(
f
.Filter(local10, VisitIs(
f
.Is(local9, local10)))))))));
1557
QilNode local7 = VisitFor(
f
.For(local5));
1558
return Replace(XmlILOptimization.NormalizeMuenchian, local0, VisitIsEmpty(
f
.IsEmpty(VisitFilter(
f
.Filter(local7, VisitNot(
f
.Not(VisitIs(
f
.Is(local4, local7)))))))));
1578
QilNode local7 = VisitFor(
f
.For(local4));
1579
return Replace(XmlILOptimization.NormalizeMuenchian, local0, VisitIsEmpty(
f
.IsEmpty(VisitFilter(
f
.Filter(local7, VisitNot(
f
.Not(VisitIs(
f
.Is(local7, local5)))))))));
1607
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1615
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1634
return Replace(XmlILOptimization.NormalizeGtLiteral, local0, VisitLt(
f
.Lt(local2, local1)));
1649
return Replace(XmlILOptimization.NormalizeXsltConvertGt, local0, VisitGt(
f
.Gt(local3, FoldXsltConvert(local2, (local3).XmlType ) )));
1664
return Replace(XmlILOptimization.NormalizeLengthGt, local0, VisitNot(
f
.Not(VisitIsEmpty(
f
.IsEmpty(local3)))));
1690
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1698
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1717
return Replace(XmlILOptimization.NormalizeGeLiteral, local0, VisitLe(
f
.Le(local2, local1)));
1732
return Replace(XmlILOptimization.NormalizeXsltConvertGe, local0, VisitGe(
f
.Ge(local3, FoldXsltConvert(local2, (local3).XmlType ) )));
1759
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1767
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1786
return Replace(XmlILOptimization.NormalizeLtLiteral, local0, VisitGt(
f
.Gt(local2, local1)));
1801
return Replace(XmlILOptimization.NormalizeXsltConvertLt, local0, VisitLt(
f
.Lt(local3, FoldXsltConvert(local2, (local3).XmlType ) )));
1828
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1836
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1855
return Replace(XmlILOptimization.NormalizeLeLiteral, local0, VisitGe(
f
.Ge(local2, local1)));
1870
return Replace(XmlILOptimization.NormalizeXsltConvertLe, local0, VisitLe(
f
.Le(local3, FoldXsltConvert(local2, (local3).XmlType ) )));
1900
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1908
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1916
return Replace(XmlILOptimization.EliminateIs, local0, VisitTrue(
f
.True()));
1930
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1938
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1946
return Replace(XmlILOptimization.EliminateAfter, local0, VisitFalse(
f
.False()));
1960
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
1968
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
1976
return Replace(XmlILOptimization.EliminateBefore, local0, VisitFalse(
f
.False()));
1993
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop( (QilNode) (local1)[0] )));
2017
return Replace(XmlILOptimization.EliminateLoop, local0, VisitSequence(
f
.Sequence()));
2029
return Replace(XmlILOptimization.EliminateLoop, local0, VisitSequence(
f
.Sequence()));
2051
return Replace(XmlILOptimization.NormalizeLoopText, local0, VisitTextCtor(
f
.TextCtor(VisitLoop(
f
.Loop(local1, local4)))));
2077
return Replace(XmlILOptimization.NormalizeLoopConditional, local0, VisitFilter(
f
.Filter(local1, VisitNot(
f
.Not(local3)))));
2094
return Replace(XmlILOptimization.NormalizeLoopConditional, local0, VisitFilter(
f
.Filter(local1, local3)));
2112
QilNode local7 = VisitFor(
f
.For(VisitFilter(
f
.Filter(local1, VisitNot(
f
.Not(local4))))));
2113
return Replace(XmlILOptimization.NormalizeLoopConditional, local0, VisitLoop(
f
.Loop(local7, Subs(local6, local1, local7) )));
2132
QilNode local7 = VisitFor(
f
.For(VisitFilter(
f
.Filter(local1, local4))));
2133
return Replace(XmlILOptimization.NormalizeLoopConditional, local0, VisitLoop(
f
.Loop(local7, Subs(local5, local1, local7) )));
2150
QilNode local6 = VisitFor(
f
.For(VisitLoop(
f
.Loop(local1, local4))));
2151
return Replace(XmlILOptimization.NormalizeLoopLoop, local0, VisitLoop(
f
.Loop(local6, Subs(local5, local3, local6) )));
2218
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop( (QilNode) (local1)[0] )));
2226
return Replace(XmlILOptimization.FoldNone, local0, VisitLoop(
f
.Loop(local1, local2)));
2235
return Replace(XmlILOptimization.EliminateFilter, local0, VisitSequence(
f
.Sequence()));
2272
return Replace(XmlILOptimization.NormalizeAttribute, local0, VisitAttribute(
f
.Attribute(local4, local12)));
2295
QilNode local6 = VisitFor(
f
.For(local5));
2296
return Replace(XmlILOptimization.CommuteFilterLoop, local0, VisitLoop(
f
.Loop(local4, VisitFilter(
f
.Filter(local6, Subs(local2, local1, local6) )))));
2307
return Replace(XmlILOptimization.NormalizeLoopInvariant, local0, VisitConditional(
f
.Conditional(local2, (QilNode) (local1)[0] , VisitSequence(
f
.Sequence()))));
2462
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop( (QilNode) (local1)[0] )));
2472
return Replace(XmlILOptimization.EliminateSort, local0, VisitNop(
f
.Nop(local3)));
2492
return Replace(XmlILOptimization.NormalizeSortXsltConvert, local0, VisitSortKey(
f
.SortKey(local3, local2)));
2507
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
2536
QilNode local10 = VisitFor(
f
.For(VisitDescendant(
f
.Descendant(local6))));
2537
return Replace(XmlILOptimization.FoldNamedDescendants, local0, VisitDocOrderDistinct(
f
.DocOrderDistinct(VisitLoop(
f
.Loop(local4, VisitFilter(
f
.Filter(local10, Subs(local9, local8, local10) )))))));
2560
QilNode local8 = VisitFor(
f
.For(VisitDescendant(
f
.Descendant(local4))));
2561
return Replace(XmlILOptimization.FoldNamedDescendants, local0, VisitFilter(
f
.Filter(local8, Subs(local7, local6, local8) )));
2579
QilNode local5 = VisitFor(
f
.For(VisitDocOrderDistinct(
f
.DocOrderDistinct(local3))));
2580
return Replace(XmlILOptimization.CommuteDodFilter, local0, VisitFilter(
f
.Filter(local5, Subs(local4, local2, local5) )));
2601
QilNode local7 = VisitFor(
f
.For(VisitDocOrderDistinct(
f
.DocOrderDistinct(VisitLoop(
f
.Loop(local2, local5))))));
2602
return Replace(XmlILOptimization.CommuteDodFilter, local0, VisitFilter(
f
.Filter(local7, Subs(local6, local4, local7) )));
2622
QilNode local5 = VisitFor(
f
.For(VisitDocOrderDistinct(
f
.DocOrderDistinct(local3))));
2623
return Replace(XmlILOptimization.IntroduceDod, local0, VisitDocOrderDistinct(
f
.DocOrderDistinct(VisitLoop(
f
.Loop(local5, Subs(local4, local2, local5) )))));
2638
return Replace(XmlILOptimization.IntroducePrecedingDod, local0, VisitDocOrderDistinct(
f
.DocOrderDistinct(VisitLoop(
f
.Loop(local2, VisitDocOrderDistinct(
f
.DocOrderDistinct(local3)))))));
2652
return Replace(XmlILOptimization.EliminateReturnDod, local0, VisitDocOrderDistinct(
f
.DocOrderDistinct(VisitLoop(
f
.Loop(local2, local4)))));
2812
return Replace(XmlILOptimization.NormalizeInvokeEmpty, local0, VisitSequence(
f
.Sequence()));
2843
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
2862
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
2870
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
2888
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
2906
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
2924
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
2942
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
2960
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
2978
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
2996
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3014
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3032
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3051
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3059
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
3078
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3086
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
3103
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3111
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
3133
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3141
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
3160
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3180
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3188
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
3207
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3226
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3245
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3265
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3273
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
3280
return Replace(XmlILOptimization.EliminateNamespaceDecl, local0, VisitSequence(
f
.Sequence()));
3299
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3332
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3345
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3358
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3371
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3388
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3398
return Replace(XmlILOptimization.EliminateTypeAssert, local0, VisitError(
f
.Error(VisitLiteralString(
f
.LiteralString(string.Empty)))));
3409
return Replace(XmlILOptimization.EliminateTypeAssert, local0, VisitConditional(
f
.Conditional(VisitIsEmpty(
f
.IsEmpty(local1)), VisitSequence(
f
.Sequence()), VisitError(
f
.Error(VisitLiteralString(
f
.LiteralString(string.Empty)))))));
3435
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3446
return Replace(XmlILOptimization.EliminateIsType, local0, VisitTrue(
f
.True()));
3459
return Replace(XmlILOptimization.EliminateIsType, local0, VisitFalse(
f
.False()));
3471
return Replace(XmlILOptimization.EliminateIsType, local0, VisitIsEmpty(
f
.IsEmpty(local1)));
3483
return Replace(XmlILOptimization.EliminateIsType, local0, VisitLoop(
f
.Loop(VisitLet(
f
.Let(local1)), VisitTrue(
f
.True()))));
3496
return Replace(XmlILOptimization.EliminateIsType, local0, VisitLoop(
f
.Loop(VisitLet(
f
.Let(local1)), VisitFalse(
f
.False()))));
3511
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3520
return Replace(XmlILOptimization.EliminateIsEmpty, local0, VisitTrue(
f
.True()));
3529
return Replace(XmlILOptimization.EliminateIsEmpty, local0, VisitFalse(
f
.False()));
3537
return Replace(XmlILOptimization.EliminateIsEmpty, local0, VisitLoop(
f
.Loop(VisitLet(
f
.Let(local1)), VisitFalse(
f
.False()))));
3553
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3566
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3584
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3602
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3623
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3637
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3645
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local2)));
3664
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
3684
return Replace(XmlILOptimization.FoldNone, local0, VisitNop(
f
.Nop(local1)));
4127
return this.
f
.LiteralString(value.Value);
4129
return this.
f
.LiteralInt32(value.ValueAsInt);
4131
return this.
f
.LiteralInt64(value.ValueAsLong);
4133
return this.
f
.LiteralDecimal((decimal) value.ValueAs(XsltConvert.DecimalType));
4135
return this.
f
.LiteralDouble(value.ValueAsDouble);
4137
return value.ValueAsBoolean ? this.
f
.True() : this.
f
.False();
4144
return this.
f
.XsltConvert(ndLiteral, typTarget);
4163
return (opType == QilNodeType.Ne) ?
f
.True() :
f
.False();
4167
return litLeft.Equals(litRight) ?
f
.True() :
f
.False();
4170
return litLeft.Equals(litRight) ?
f
.False() :
f
.True();
4181
case QilNodeType.Gt: return cmp > 0 ?
f
.True() :
f
.False();
4182
case QilNodeType.Ge: return cmp >= 0 ?
f
.True() :
f
.False();
4183
case QilNodeType.Lt: return cmp < 0 ?
f
.True() :
f
.False();
4184
case QilNodeType.Le: return cmp <= 0 ?
f
.True() :
f
.False();
4216
case QilNodeType.Add: return
f
.LiteralInt32(intLeft + intRight);
4217
case QilNodeType.Subtract: return
f
.LiteralInt32(intLeft - intRight);
4218
case QilNodeType.Multiply: return
f
.LiteralInt32(intLeft * intRight);
4219
case QilNodeType.Divide: return
f
.LiteralInt32(intLeft / intRight);
4220
case QilNodeType.Modulo: return
f
.LiteralInt32(intLeft % intRight);
4230
case QilNodeType.Add: return
f
.LiteralInt64(lngLeft + lngRight);
4231
case QilNodeType.Subtract: return
f
.LiteralInt64(lngLeft - lngRight);
4232
case QilNodeType.Multiply: return
f
.LiteralInt64(lngLeft * lngRight);
4233
case QilNodeType.Divide: return
f
.LiteralInt64(lngLeft / lngRight);
4234
case QilNodeType.Modulo: return
f
.LiteralInt64(lngLeft % lngRight);
4244
case QilNodeType.Add: return
f
.LiteralDecimal(lngLeft + lngRight);
4245
case QilNodeType.Subtract: return
f
.LiteralDecimal(lngLeft - lngRight);
4246
case QilNodeType.Multiply: return
f
.LiteralDecimal(lngLeft * lngRight);
4247
case QilNodeType.Divide: return
f
.LiteralDecimal(lngLeft / lngRight);
4248
case QilNodeType.Modulo: return
f
.LiteralDecimal(lngLeft % lngRight);
4258
case QilNodeType.Add: return
f
.LiteralDouble(lngLeft + lngRight);
4259
case QilNodeType.Subtract: return
f
.LiteralDouble(lngLeft - lngRight);
4260
case QilNodeType.Multiply: return
f
.LiteralDouble(lngLeft * lngRight);
4261
case QilNodeType.Divide: return
f
.LiteralDouble(lngLeft / lngRight);
4262
case QilNodeType.Modulo: return
f
.LiteralDouble(lngLeft % lngRight);
4276
case QilNodeType.Add: return
f
.Add(left, right);
4277
case QilNodeType.Subtract: return
f
.Subtract(left, right);
4278
case QilNodeType.Multiply: return
f
.Multiply(left, right);
4279
case QilNodeType.Divide: return
f
.Divide(left, right);
4280
case QilNodeType.Modulo: return
f
.Modulo(left, right);
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (1)
73
newType =
f
.TypeChecker.Check(node);