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