43 references to Read
System.Private.Xml (43)
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\XmlILOptimizerVisitor.cs (3)
106
if (!XmlILConstructInfo.
Read
(nd).IsNamespaceInScope)
4363
if ((XmlILConstructInfo.
Read
(local0).IsNamespaceInScope) && (this[XmlILOptimization.EliminateNamespaceDecl]))
5635
isUsed = XmlILConstructInfo.
Read
(nd).CallersInfo.Count != 0;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (36)
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);
4500
switch (XmlILConstructInfo.
Read
(ndCtor).InitialStates)
4531
if (XmlILConstructInfo.
Read
(ndCtor).FinalStates == PossibleXmlStates.WithinSequence)
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)