13 writes to depth
System.Data.SqlXml (13)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (13)
77this.depth = 1; 415this.depth++; 446this.depth--; 464this.depth++; 481this.depth--; 549this.depth++; 557this.depth--; 685this.depth++; 703this.depth--; 721this.depth++; 741this.depth--; 761this.depth++; 781this.depth--;
18 references to depth
System.Data.SqlXml (18)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (18)
194if (this.depth == 0) 223if (ns.Length != 0 && this.depth != 0) 241if (this.depth == 0) 498if (this.depth == 0) { 544Debug.Assert(this.depth == 0, "Root node can only be constructed at top-level."); 556Debug.Assert(this.depth == 1, "Root node can only be constructed at top-level."); 667if (this.depth == 0) 708if (this.depth == 0) 743if (this.depth == 0) 784if (this.depth == 0) 933if (this.depth == 0) 943int depthStart = this.depth; 947if (StartCopy(navigator, this.depth == depthStart)) { 961CopyNamespaces(navigator, (this.depth - 1 == depthStart) ? XPathNamespaceScope.ExcludeXml : XPathNamespaceScope.Local); 969EndCopy(navigator, (this.depth - 1) == depthStart); 974if (this.depth == depthStart) { 987EndCopy(navigator, (this.depth - 1) == depthStart); 1434if (this.depth == 1)