57 references to Read
System.Private.Xml (57)
System\Xml\Xsl\IlGen\OptimizerPatterns.cs (1)
160
OptimizerPatterns annSrc = OptimizerPatterns.
Read
(ndSrc);
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (46)
204
if (OptimizerPatterns.
Read
(node[i]).MatchesPattern(OptimizerPatternName.MaybeSideEffects))
764
if ((((local1).XmlType)!.IsSingleton) && (!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
921
if (((IsStepPattern(local2, QilNodeType.Content)) || (IsStepPattern(local2, QilNodeType.Union))) && ((OptimizerPatterns.
Read
((QilNode)(local1)).GetArgument(OptimizerPatternArgument.StepInput)) == (OptimizerPatterns.
Read
((QilNode)(local2)).GetArgument(OptimizerPatternArgument.StepInput))))
926
AddStepPattern((QilNode)(local0), (QilNode)(OptimizerPatterns.
Read
((QilNode)(local1)).GetArgument(OptimizerPatternArgument.StepInput))); OptimizerPatterns.Write((QilNode)(local0)).AddPattern(OptimizerPatternName.SameDepth);
2637
if (!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.IsPositional))
2668
if (!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects))
2715
if ((((local1).NodeType == QilNodeType.Let) || ((((QilNode)(local1)[0]).XmlType!).IsSingleton)) && (!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
2879
if (OptimizerPatterns.
Read
((QilNode)(local3)).MatchesPattern(OptimizerPatternName.SameDepth))
2881
if (((IsStepPattern(local2, QilNodeType.Content)) || (IsStepPattern(local2, QilNodeType.Union))) && ((local1) == (OptimizerPatterns.
Read
((QilNode)(local2)).GetArgument(OptimizerPatternArgument.StepInput))))
2897
if ((((IsStepPattern(local2, QilNodeType.Attribute)) || (IsStepPattern(local2, QilNodeType.XPathNamespace))) || (OptimizerPatterns.
Read
((QilNode)(local2)).MatchesPattern(OptimizerPatternName.FilterAttributeKind))) && ((local1) == (OptimizerPatterns.
Read
((QilNode)(local2)).GetArgument(OptimizerPatternArgument.StepInput))))
2912
if (OptimizerPatterns.
Read
((QilNode)(local3)).MatchesPattern(OptimizerPatternName.SameDepth))
2914
if (((IsStepPattern(local2, QilNodeType.Descendant)) || (IsStepPattern(local2, QilNodeType.DescendantOrSelf))) && ((local1) == (OptimizerPatterns.
Read
((QilNode)(local2)).GetArgument(OptimizerPatternArgument.StepInput))))
2956
if (!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects))
3053
if ((!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)) && (!(((QilNode)(local1)[0]).NodeType == QilNodeType.OptimizeBarrier)))
3055
if ((!(DependsOn(local2, local1))) && (!OptimizerPatterns.
Read
(local2).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
3154
if (OptimizerPatterns.
Read
((QilNode)(local3)).MatchesPattern(OptimizerPatternName.Axis))
3204
if (OptimizerPatterns.
Read
((QilNode)(local3)).MatchesPattern(OptimizerPatternName.Axis))
3369
if (((OptimizerPatterns.
Read
((QilNode)(local7)).MatchesPattern(OptimizerPatternName.FilterElements)) || (OptimizerPatterns.
Read
((QilNode)(local7)).MatchesPattern(OptimizerPatternName.FilterContentKind))) && (IsStepPattern(local7, QilNodeType.Content)))
3400
if (((OptimizerPatterns.
Read
((QilNode)(local5)).MatchesPattern(OptimizerPatternName.FilterElements)) || (OptimizerPatterns.
Read
((QilNode)(local5)).MatchesPattern(OptimizerPatternName.FilterContentKind))) && (IsStepPattern(local5, QilNodeType.Content)))
3423
if (!OptimizerPatterns.
Read
(local2).MatchesPattern(OptimizerPatternName.IsPositional))
3425
if (((!(OptimizerPatterns.
Read
((QilNode)(local1)).MatchesPattern(OptimizerPatternName.FilterElements))) && (!(OptimizerPatterns.
Read
((QilNode)(local1)).MatchesPattern(OptimizerPatternName.FilterContentKind)))) && (!(OptimizerPatterns.
Read
((QilNode)(local1)).MatchesPattern(OptimizerPatternName.FilterAttributeKind))))
3451
if (!OptimizerPatterns.
Read
(local4).MatchesPattern(OptimizerPatternName.IsPositional))
3455
if (((!(OptimizerPatterns.
Read
((QilNode)(local3)).MatchesPattern(OptimizerPatternName.FilterElements))) && (!(OptimizerPatterns.
Read
((QilNode)(local3)).MatchesPattern(OptimizerPatternName.FilterContentKind)))) && (!(OptimizerPatterns.
Read
((QilNode)(local3)).MatchesPattern(OptimizerPatternName.FilterAttributeKind))))
3481
if ((!OptimizerPatterns.
Read
(local2).MatchesPattern(OptimizerPatternName.IsPositional)) && ((local3).XmlType!.IsSubtypeOf(XmlQueryTypeFactory.NodeNotRtfS)))
3483
if (((!(OptimizerPatterns.
Read
((QilNode)(local1)).MatchesPattern(OptimizerPatternName.FilterElements))) && (!(OptimizerPatterns.
Read
((QilNode)(local1)).MatchesPattern(OptimizerPatternName.FilterContentKind)))) && (!(OptimizerPatterns.
Read
((QilNode)(local1)).MatchesPattern(OptimizerPatternName.FilterAttributeKind))))
3563
if ((AllowJoinAndDod(local4)) && ((local2) == (OptimizerPatterns.
Read
((QilNode)(local4)).GetArgument(OptimizerPatternArgument.StepInput))))
4575
if (!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects))
4593
if (!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects))
4626
if (!(!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
4644
if (!(!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
4693
if ((!((local1).XmlType)!.MaybeEmpty) && (!OptimizerPatterns.
Read
(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
5319
OptimizerPatterns patt = OptimizerPatterns.
Read
(nd);
5340
OptimizerPatterns patt = OptimizerPatterns.
Read
(nd);
5601
return OptimizerPatterns.
Read
(nd).MatchesPattern(OptimizerPatternName.IsDocOrderDistinct);
5609
return IsStepPattern(OptimizerPatterns.
Read
(nd), stepType);
5642
OptimizerPatterns optPatt = OptimizerPatterns.
Read
(nd);
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (9)
1072
OptimizerPatterns patt = OptimizerPatterns.
Read
(ndSetLen);
1917
OptimizerPatterns patt = OptimizerPatterns.
Read
(ndFilter);
2109
OptimizerPatterns patt = OptimizerPatterns.
Read
(ndIter);
2411
OptimizerPatterns pattDod = OptimizerPatterns.
Read
(ndDod);
2421
OptimizerPatterns pattStep = OptimizerPatterns.
Read
((QilNode)pattDod.GetArgument(OptimizerPatternArgument.DodStep));
2566
if (OptimizerPatterns.
Read
(ndInvoke).MatchesPattern(OptimizerPatternName.TailCall))
3040
OptimizerPatterns patt = OptimizerPatterns.
Read
(ndRtf);
4938
patt = OptimizerPatterns.
Read
(nd);
4946
patt = OptimizerPatterns.
Read
(nd);
System\Xml\Xsl\XmlIlGenerator.cs (1)
337
if (_qil!.IsDebug || OptimizerPatterns.
Read
(ndIter).MatchesPattern(OptimizerPatternName.MaybeSideEffects))