43 references to XmlILConstructMethod
System.Private.Xml (43)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (2)
26if (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer) 45if (XmlILConstructInfo.Read(nd).ConstructMethod == XmlILConstructMethod.Writer)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (29)
55private XmlILConstructMethod _constrMeth; 117_constrMeth = XmlILConstructMethod.Iterator; 176public XmlILConstructMethod ConstructMethod 191get { return _constrMeth == XmlILConstructMethod.Writer || _constrMeth == XmlILConstructMethod.WriterThenIterator; } 199case XmlILConstructMethod.Iterator: 200_constrMeth = XmlILConstructMethod.WriterThenIterator; 203case XmlILConstructMethod.IteratorThenWriter: 204_constrMeth = XmlILConstructMethod.Writer; 215get { return _constrMeth == XmlILConstructMethod.Writer || _constrMeth == XmlILConstructMethod.IteratorThenWriter; } 223case XmlILConstructMethod.Iterator: 224_constrMeth = XmlILConstructMethod.IteratorThenWriter; 227case XmlILConstructMethod.WriterThenIterator: 228_constrMeth = XmlILConstructMethod.Writer; 239get { return _constrMeth == XmlILConstructMethod.IteratorThenWriter || _constrMeth == XmlILConstructMethod.Iterator; } 247case XmlILConstructMethod.Writer: 248_constrMeth = XmlILConstructMethod.IteratorThenWriter; 251case XmlILConstructMethod.WriterThenIterator: 252_constrMeth = XmlILConstructMethod.Iterator; 378if (_constrMeth != XmlILConstructMethod.Iterator) 451this.parentInfo.ConstructMethod = XmlILConstructMethod.Writer; 479this.parentInfo.ConstructMethod = XmlILConstructMethod.WriterThenIterator; 559info.ConstructMethod = XmlILConstructMethod.Writer; 575info.ConstructMethod = XmlILConstructMethod.Writer; 600info.ConstructMethod = XmlILConstructMethod.Writer; 618info.ConstructMethod = XmlILConstructMethod.Writer; 633info.ConstructMethod = XmlILConstructMethod.Writer;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (12)
239useWriter = (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer); 307case XmlILConstructMethod.WriterThenIterator: 312case XmlILConstructMethod.IteratorThenWriter: 317case XmlILConstructMethod.Iterator: 449if (XmlILConstructInfo.Read(ndErr).ConstructMethod == XmlILConstructMethod.Writer) 473if (XmlILConstructInfo.Read(ndWarning).ConstructMethod == XmlILConstructMethod.Writer) 870if (info.ConstructMethod == XmlILConstructMethod.Writer) 909Debug.Assert(info.ConstructMethod == XmlILConstructMethod.Iterator); 1121if (XmlILConstructInfo.Read(ndSeq).ConstructMethod == XmlILConstructMethod.Writer) 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); 3562Debug.Assert(XmlILConstructInfo.Read(ndInvoke).ConstructMethod != XmlILConstructMethod.Writer);