43 references to XmlILConstructMethod
System.Data.SqlXml (43)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (2)
27if (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer) 44if (XmlILConstructInfo.Read(nd).ConstructMethod == XmlILConstructMethod.Writer)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (29)
56private XmlILConstructMethod constrMeth; 112this.constrMeth = XmlILConstructMethod.Iterator; 163public XmlILConstructMethod ConstructMethod { 175get { return this.constrMeth == XmlILConstructMethod.Writer || this.constrMeth == XmlILConstructMethod.WriterThenIterator; } 181case XmlILConstructMethod.Iterator: 182this.constrMeth = XmlILConstructMethod.WriterThenIterator; 185case XmlILConstructMethod.IteratorThenWriter: 186this.constrMeth = XmlILConstructMethod.Writer; 196get { return this.constrMeth == XmlILConstructMethod.Writer || this.constrMeth == XmlILConstructMethod.IteratorThenWriter; } 202case XmlILConstructMethod.Iterator: 203this.constrMeth = XmlILConstructMethod.IteratorThenWriter; 206case XmlILConstructMethod.WriterThenIterator: 207this.constrMeth = XmlILConstructMethod.Writer; 217get { return this.constrMeth == XmlILConstructMethod.IteratorThenWriter || this.constrMeth == XmlILConstructMethod.Iterator; } 223case XmlILConstructMethod.Writer: 224this.constrMeth = XmlILConstructMethod.IteratorThenWriter; 227case XmlILConstructMethod.WriterThenIterator: 228this.constrMeth = XmlILConstructMethod.Iterator; 345if (this.constrMeth != XmlILConstructMethod.Iterator) { 410this.parentInfo.ConstructMethod = XmlILConstructMethod.Writer; 434this.parentInfo.ConstructMethod = XmlILConstructMethod.WriterThenIterator; 510info.ConstructMethod = XmlILConstructMethod.Writer; 525info.ConstructMethod = XmlILConstructMethod.Writer; 549info.ConstructMethod = XmlILConstructMethod.Writer; 566info.ConstructMethod = XmlILConstructMethod.Writer; 580info.ConstructMethod = XmlILConstructMethod.Writer;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (12)
224useWriter = (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer); 288case XmlILConstructMethod.WriterThenIterator: 293case XmlILConstructMethod.IteratorThenWriter: 298case XmlILConstructMethod.Iterator: 421if (XmlILConstructInfo.Read(ndErr).ConstructMethod == XmlILConstructMethod.Writer) { 442if (XmlILConstructInfo.Read(ndWarning).ConstructMethod == XmlILConstructMethod.Writer) 811if (info.ConstructMethod == XmlILConstructMethod.Writer) { 846Debug.Assert(info.ConstructMethod == XmlILConstructMethod.Iterator); 1043if (XmlILConstructInfo.Read(ndSeq).ConstructMethod == XmlILConstructMethod.Writer) { 1083Debug.Assert(XmlILConstructInfo.Read(ndSeq).ConstructMethod == XmlILConstructMethod.Iterator, "This method should only be called if items in list are pulled from a code iterator."); 2366bool useWriter = (XmlILConstructInfo.Read(ndFunc).ConstructMethod == XmlILConstructMethod.Writer); 3312Debug.Assert(XmlILConstructInfo.Read(ndInvoke).ConstructMethod != XmlILConstructMethod.Writer);