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