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