2 instantiations of XmlILConstructInfo
System.Private.Xml (2)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (2)
74constrInfo = new XmlILConstructInfo(QilNodeType.Unknown); 98constrInfo = new XmlILConstructInfo(nd.NodeType);
86 references to XmlILConstructInfo
System.Private.Xml (86)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (3)
26if (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer) 36Debug.Assert(XmlILConstructInfo.Read(nd).PushToWriterLast, 45if (XmlILConstructInfo.Read(nd).ConstructMethod == XmlILConstructMethod.Writer)
System\Xml\Xsl\IlGen\XmlILAnnotation.cs (2)
19private XmlILConstructInfo? _constrInfo; 88public XmlILConstructInfo? ConstructInfo
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (26)
56private XmlILConstructInfo? _parentInfo; 60private static volatile XmlILConstructInfo? s_default; 65public static XmlILConstructInfo Read(QilNode nd) 68XmlILConstructInfo? constrInfo = ann?.ConstructInfo; 91public static XmlILConstructInfo Write(QilNode nd) 94XmlILConstructInfo? constrInfo = ann.ConstructInfo; 263public XmlILConstructInfo? ParentInfo 277public XmlILConstructInfo? ParentElementInfo 416protected XmlILConstructInfo? parentInfo; 447this.parentInfo = XmlILConstructInfo.Write(ndConstr); 456foreach (XmlILConstructInfo infoCaller in this.parentInfo.CallersInfo) 523XmlILConstructInfo info; 539info = XmlILConstructInfo.Write(nd); 596protected virtual void AnalyzeLoop(QilLoop ndLoop, XmlILConstructInfo info) 616protected virtual void AnalyzeSequence(QilList ndSeq, XmlILConstructInfo info) 629protected virtual void AnalyzeConditional(QilTernary ndCond, XmlILConstructInfo info) 652protected virtual void AnalyzeChoice(QilChoice ndChoice, XmlILConstructInfo info) 680protected virtual void AnalyzeCopy(QilNode ndCopy, XmlILConstructInfo info) 713private void StartLoop(XmlQueryType typ, XmlILConstructInfo info) 749private void EndLoop(XmlQueryType typ, XmlILConstructInfo info) 802this.parentInfo = XmlILConstructInfo.Write(ndElem); 822protected override void AnalyzeLoop(QilLoop ndLoop, XmlILConstructInfo info) 834protected override void AnalyzeCopy(QilNode ndCopy, XmlILConstructInfo info) 853private void AnalyzeAttributeCtor(QilBinary ndAttr, XmlILConstructInfo info) 1070XmlILConstructInfo.Write(nd).IsNamespaceInScope = true; 1092XmlILConstructInfo.Write(nd).IsNamespaceInScope = true;
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (7)
106if (!XmlILConstructInfo.Read(nd).IsNamespaceInScope) 261XmlILConstructInfo.Write(local0.Root).PushToWriterLast = true; 3747XmlILConstructInfo.Write(local1).CallersInfo.Add(XmlILConstructInfo.Write(local0)); 4363if ((XmlILConstructInfo.Read(local0).IsNamespaceInScope) && (this[XmlILOptimization.EliminateNamespaceDecl])) 4414XmlILConstructInfo.Write(local0).PullFromIteratorFirst = true; 5635isUsed = XmlILConstructInfo.Read(nd).CallersInfo.Count != 0;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (47)
239useWriter = (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer); 305switch (XmlILConstructInfo.Read(nd).ConstructMethod) 449if (XmlILConstructInfo.Read(ndErr).ConstructMethod == XmlILConstructMethod.Writer) 473if (XmlILConstructInfo.Read(ndWarning).ConstructMethod == XmlILConstructMethod.Writer) 868XmlILConstructInfo info = XmlILConstructInfo.Read(ndCond); 1012Debug.Assert(XmlILConstructInfo.Read(ndChoice).PushToWriterFirst); 1121if (XmlILConstructInfo.Read(ndSeq).ConstructMethod == XmlILConstructMethod.Writer) 1144Debug.Assert(XmlILConstructInfo.Read(nd).PullFromIteratorFirst, "VisitEmpty should only be called if items are iterated"); 1165Debug.Assert(XmlILConstructInfo.Read(ndSeq).ConstructMethod == XmlILConstructMethod.Iterator, "This method should only be called if items in list are pulled from a code iterator."); 2551bool useWriter = (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer); 2552Debug.Assert(!XmlILConstructInfo.Read(ndInvoke).PushToWriterFirst || useWriter); 2777XmlILConstructInfo info = XmlILConstructInfo.Read(ndElem); 2780Debug.Assert(XmlILConstructInfo.Read(ndElem).PushToWriterFirst, "Element construction should always be pushed to writer."); 2789if (XmlILConstructInfo.Read(ndElem.Right).FinalStates == PossibleXmlStates.Any) 2808if (XmlILConstructInfo.Read(ndElem.Right).FinalStates == PossibleXmlStates.EnumAttrs && !callChk) 2827XmlILConstructInfo info = XmlILConstructInfo.Read(ndAttr); 2830Debug.Assert(XmlILConstructInfo.Read(ndAttr).PushToWriterFirst, "Attribute construction should always be pushed to writer."); 2864Debug.Assert(XmlILConstructInfo.Read(ndComment).PushToWriterFirst, "Comment construction should always be pushed to writer."); 2884Debug.Assert(XmlILConstructInfo.Read(ndPI).PushToWriterFirst, "PI construction should always be pushed to writer."); 2922XmlILConstructInfo info = XmlILConstructInfo.Read(ndText); 2984Debug.Assert(XmlILConstructInfo.Read(ndDoc).PushToWriterFirst, "Document root construction should always be pushed to writer."); 3005XmlILConstructInfo info = XmlILConstructInfo.Read(ndNmsp); 3562Debug.Assert(XmlILConstructInfo.Read(ndInvoke).ConstructMethod != XmlILConstructMethod.Writer); 3745Debug.Assert(XmlILConstructInfo.Read(ndCopy).PushToWriterFirst); 3779Debug.Assert(XmlILConstructInfo.Read(ndCopyOf).PushToWriterFirst, "XsltCopyOf should always be pushed to writer."); 4421XmlILConstructInfo info = XmlILConstructInfo.Read(nd); 4446XmlILConstructInfo info = XmlILConstructInfo.Read(nd); 4470private static bool MightHaveNamespacesAfterAttributes(XmlILConstructInfo? info) 4487private static bool ElementCachesAttributes(XmlILConstructInfo info) 4500switch (XmlILConstructInfo.Read(ndCtor).InitialStates) 4531if (XmlILConstructInfo.Read(ndCtor).FinalStates == PossibleXmlStates.WithinSequence) 4541private static bool CheckWithinContent(XmlILConstructInfo info) 4558private static bool CheckEnumAttrs(XmlILConstructInfo info) 4734if (XmlILConstructInfo.Read(nd).PushToWriterLast) 4772Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast); 4786Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast); 4805Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast); 4815Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast); 4825Debug.Assert(nd.XmlType!.IsSingleton && !XmlILConstructInfo.Read(nd).PushToWriterLast); 4839Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast);
System\Xml\Xsl\XmlIlGenerator.cs (1)
221if (XmlILConstructInfo.Read(ndFunc).PushToWriterLast)