2 instantiations of XmlILConstructInfo
System.Data.SqlXml (2)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (2)
72constrInfo = new XmlILConstructInfo(QilNodeType.Unknown); 93constrInfo = new XmlILConstructInfo(nd.NodeType);
86 references to XmlILConstructInfo
System.Data.SqlXml (86)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (3)
27if (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer) 36Debug.Assert(XmlILConstructInfo.Read(nd).PushToWriterLast, 44if (XmlILConstructInfo.Read(nd).ConstructMethod == XmlILConstructMethod.Writer)
System\Xml\Xsl\IlGen\XmlILAnnotation.cs (2)
21private XmlILConstructInfo constrInfo; 84public XmlILConstructInfo ConstructInfo {
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (26)
57private XmlILConstructInfo parentInfo; 61private static volatile XmlILConstructInfo Default; 66public static XmlILConstructInfo Read(QilNode nd) { 68XmlILConstructInfo constrInfo = (ann != null) ? ann.ConstructInfo : null; 88public static XmlILConstructInfo Write(QilNode nd) { 90XmlILConstructInfo constrInfo = ann.ConstructInfo; 238public XmlILConstructInfo ParentInfo { 250public XmlILConstructInfo ParentElementInfo { 379protected XmlILConstructInfo parentInfo; 406this.parentInfo = XmlILConstructInfo.Write(ndConstr); 414foreach (XmlILConstructInfo infoCaller in this.parentInfo.CallersInfo) { 475XmlILConstructInfo info; 490info = XmlILConstructInfo.Write(nd); 545protected virtual void AnalyzeLoop(QilLoop ndLoop, XmlILConstructInfo info) { 564protected virtual void AnalyzeSequence(QilList ndSeq, XmlILConstructInfo info) { 576protected virtual void AnalyzeConditional(QilTernary ndCond, XmlILConstructInfo info) { 598protected virtual void AnalyzeChoice(QilChoice ndChoice, XmlILConstructInfo info) { 624protected virtual void AnalyzeCopy(QilNode ndCopy, XmlILConstructInfo info) { 653private void StartLoop(XmlQueryType typ, XmlILConstructInfo info) { 687private void EndLoop(XmlQueryType typ, XmlILConstructInfo info) { 734this.parentInfo = XmlILConstructInfo.Write(ndElem); 754protected override void AnalyzeLoop(QilLoop ndLoop, XmlILConstructInfo info) { 765protected override void AnalyzeCopy(QilNode ndCopy, XmlILConstructInfo info) { 779private void AnalyzeAttributeCtor(QilBinary ndAttr, XmlILConstructInfo info) { 974XmlILConstructInfo.Write(nd).IsNamespaceInScope = true; 994XmlILConstructInfo.Write(nd).IsNamespaceInScope = true;
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (7)
97if (!XmlILConstructInfo.Read(nd).IsNamespaceInScope) 236XmlILConstructInfo.Write(local0.Root).PushToWriterLast = true; 2821XmlILConstructInfo.Write(local1).CallersInfo.Add(XmlILConstructInfo.Write(local0)); } 3277if (( XmlILConstructInfo.Read(local0).IsNamespaceInScope ) && (this[XmlILOptimization.EliminateNamespaceDecl])) { 3316XmlILConstructInfo.Write(local0).PullFromIteratorFirst = true; 4330isUsed = XmlILConstructInfo.Read(nd).CallersInfo.Count != 0;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (47)
224useWriter = (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer); 287switch (XmlILConstructInfo.Read(nd).ConstructMethod) { 421if (XmlILConstructInfo.Read(ndErr).ConstructMethod == XmlILConstructMethod.Writer) { 442if (XmlILConstructInfo.Read(ndWarning).ConstructMethod == XmlILConstructMethod.Writer) 809XmlILConstructInfo info = XmlILConstructInfo.Read(ndCond); 940Debug.Assert(XmlILConstructInfo.Read(ndChoice).PushToWriterFirst); 1043if (XmlILConstructInfo.Read(ndSeq).ConstructMethod == XmlILConstructMethod.Writer) { 1063Debug.Assert(XmlILConstructInfo.Read(nd).PullFromIteratorFirst, "VisitEmpty should only be called if items are iterated"); 1083Debug.Assert(XmlILConstructInfo.Read(ndSeq).ConstructMethod == XmlILConstructMethod.Iterator, "This method should only be called if items in list are pulled from a code iterator."); 2366bool useWriter = (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer); 2367Debug.Assert(!XmlILConstructInfo.Read(ndInvoke).PushToWriterFirst || useWriter); 2574XmlILConstructInfo info = XmlILConstructInfo.Read(ndElem); 2577Debug.Assert(XmlILConstructInfo.Read(ndElem).PushToWriterFirst, "Element contruction should always be pushed to writer."); 2586if (XmlILConstructInfo.Read(ndElem.Right).FinalStates == PossibleXmlStates.Any) 2605if (XmlILConstructInfo.Read(ndElem.Right).FinalStates == PossibleXmlStates.EnumAttrs && !callChk) 2623XmlILConstructInfo info = XmlILConstructInfo.Read(ndAttr); 2626Debug.Assert(XmlILConstructInfo.Read(ndAttr).PushToWriterFirst, "Attribute construction should always be pushed to writer."); 2659Debug.Assert(XmlILConstructInfo.Read(ndComment).PushToWriterFirst, "Comment construction should always be pushed to writer."); 2678Debug.Assert(XmlILConstructInfo.Read(ndPI).PushToWriterFirst, "PI construction should always be pushed to writer."); 2713XmlILConstructInfo info = XmlILConstructInfo.Read(ndText); 2772Debug.Assert(XmlILConstructInfo.Read(ndDoc).PushToWriterFirst, "Document root construction should always be pushed to writer."); 2792XmlILConstructInfo info = XmlILConstructInfo.Read(ndNmsp); 3312Debug.Assert(XmlILConstructInfo.Read(ndInvoke).ConstructMethod != XmlILConstructMethod.Writer); 3474Debug.Assert(XmlILConstructInfo.Read(ndCopy).PushToWriterFirst); 3507Debug.Assert(XmlILConstructInfo.Read(ndCopyOf).PushToWriterFirst, "XsltCopyOf should always be pushed to writer."); 4096XmlILConstructInfo info = XmlILConstructInfo.Read(nd); 4119XmlILConstructInfo info = XmlILConstructInfo.Read(nd); 4142private bool MightHaveNamespacesAfterAttributes(XmlILConstructInfo info) { 4158private bool ElementCachesAttributes(XmlILConstructInfo info) { 4169switch (XmlILConstructInfo.Read(ndCtor).InitialStates) { 4197if (XmlILConstructInfo.Read(ndCtor).FinalStates == PossibleXmlStates.WithinSequence) { 4206private bool CheckWithinContent(XmlILConstructInfo info) { 4221private bool CheckEnumAttrs(XmlILConstructInfo info) { 4373if (XmlILConstructInfo.Read(nd).PushToWriterLast) { 4406Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast); 4419Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast); 4436Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast); 4445Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast); 4454Debug.Assert(nd.XmlType.IsSingleton && !XmlILConstructInfo.Read(nd).PushToWriterLast); 4467Debug.Assert(!XmlILConstructInfo.Read(nd).PushToWriterLast);
System\Xml\Xsl\XmlIlGenerator.cs (1)
211if (XmlILConstructInfo.Read(ndFunc).PushToWriterLast) {