2 instantiations of XmlILConstructInfo
System.Private.Xml (2)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (2)
73constrInfo = new XmlILConstructInfo(QilNodeType.Unknown); 97constrInfo = 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; 59private static volatile XmlILConstructInfo? s_default; 64public static XmlILConstructInfo Read(QilNode nd) 67XmlILConstructInfo? constrInfo = ann?.ConstructInfo; 90public static XmlILConstructInfo Write(QilNode nd) 93XmlILConstructInfo? constrInfo = ann.ConstructInfo; 262public XmlILConstructInfo? ParentInfo 276public XmlILConstructInfo? ParentElementInfo 415protected XmlILConstructInfo? parentInfo; 446this.parentInfo = XmlILConstructInfo.Write(ndConstr); 455foreach (XmlILConstructInfo infoCaller in this.parentInfo.CallersInfo) 522XmlILConstructInfo info; 538info = XmlILConstructInfo.Write(nd); 595protected virtual void AnalyzeLoop(QilLoop ndLoop, XmlILConstructInfo info) 615protected virtual void AnalyzeSequence(QilList ndSeq, XmlILConstructInfo info) 628protected virtual void AnalyzeConditional(QilTernary ndCond, XmlILConstructInfo info) 651protected virtual void AnalyzeChoice(QilChoice ndChoice, XmlILConstructInfo info) 679protected virtual void AnalyzeCopy(QilNode ndCopy, XmlILConstructInfo info) 712private void StartLoop(XmlQueryType typ, XmlILConstructInfo info) 748private void EndLoop(XmlQueryType typ, XmlILConstructInfo info) 801this.parentInfo = XmlILConstructInfo.Write(ndElem); 821protected override void AnalyzeLoop(QilLoop ndLoop, XmlILConstructInfo info) 833protected override void AnalyzeCopy(QilNode ndCopy, XmlILConstructInfo info) 852private void AnalyzeAttributeCtor(QilBinary ndAttr, XmlILConstructInfo info) 1069XmlILConstructInfo.Write(nd).IsNamespaceInScope = true; 1091XmlILConstructInfo.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)