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; 118_constrMeth = XmlILConstructMethod.Iterator; 177public XmlILConstructMethod ConstructMethod 192get { return _constrMeth == XmlILConstructMethod.Writer || _constrMeth == XmlILConstructMethod.WriterThenIterator; } 200case XmlILConstructMethod.Iterator: 201_constrMeth = XmlILConstructMethod.WriterThenIterator; 204case XmlILConstructMethod.IteratorThenWriter: 205_constrMeth = XmlILConstructMethod.Writer; 216get { return _constrMeth == XmlILConstructMethod.Writer || _constrMeth == XmlILConstructMethod.IteratorThenWriter; } 224case XmlILConstructMethod.Iterator: 225_constrMeth = XmlILConstructMethod.IteratorThenWriter; 228case XmlILConstructMethod.WriterThenIterator: 229_constrMeth = XmlILConstructMethod.Writer; 240get { return _constrMeth == XmlILConstructMethod.IteratorThenWriter || _constrMeth == XmlILConstructMethod.Iterator; } 248case XmlILConstructMethod.Writer: 249_constrMeth = XmlILConstructMethod.IteratorThenWriter; 252case XmlILConstructMethod.WriterThenIterator: 253_constrMeth = XmlILConstructMethod.Iterator; 379if (_constrMeth != XmlILConstructMethod.Iterator) 452this.parentInfo.ConstructMethod = XmlILConstructMethod.Writer; 480this.parentInfo.ConstructMethod = XmlILConstructMethod.WriterThenIterator; 560info.ConstructMethod = XmlILConstructMethod.Writer; 576info.ConstructMethod = XmlILConstructMethod.Writer; 601info.ConstructMethod = XmlILConstructMethod.Writer; 619info.ConstructMethod = XmlILConstructMethod.Writer; 634info.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);