15 references to MaybeSideEffects
System.Private.Xml (15)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (14)
181
OptimizerPatterns.Write(node).AddPattern(OptimizerPatternName.
MaybeSideEffects
);
204
if (OptimizerPatterns.Read(node[i]).MatchesPattern(OptimizerPatternName.
MaybeSideEffects
))
764
if ((((local1).XmlType)!.IsSingleton) && (!OptimizerPatterns.Read(local1).MatchesPattern(OptimizerPatternName.
MaybeSideEffects
)))
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
)))
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
)))
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
)))
5643
isUsed = optPatt.MatchesPattern(OptimizerPatternName.IsReferenced) || optPatt.MatchesPattern(OptimizerPatternName.
MaybeSideEffects
);
System\Xml\Xsl\XmlIlGenerator.cs (1)
337
if (_qil!.IsDebug || OptimizerPatterns.Read(ndIter).MatchesPattern(OptimizerPatternName.
MaybeSideEffects
))