13 writes to _depth
System.Private.Xml (13)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (13)
77_depth = 1; 452_depth++; 486_depth--; 506_depth++; 525_depth--; 599_depth++; 608_depth--; 753_depth++; 773_depth--; 792_depth++; 814_depth--; 835_depth++; 857_depth--;
18 references to _depth
System.Private.Xml (18)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (18)
203if (_depth == 0) 236if (ns.Length != 0 && _depth != 0) 257if (_depth == 0) 543if (_depth == 0) 594Debug.Assert(_depth == 0, "Root node can only be constructed at top-level."); 607Debug.Assert(_depth == 1, "Root node can only be constructed at top-level."); 734if (_depth == 0) 778if (_depth == 0) 816if (_depth == 0) 860if (_depth == 0) 1024if (_depth == 0) 1035int depthStart = _depth; 1040if (StartCopy(navigator, _depth == depthStart)) 1057CopyNamespaces(navigator, (_depth - 1 == depthStart) ? XPathNamespaceScope.ExcludeXml : XPathNamespaceScope.Local); 1065EndCopy(navigator, (_depth - 1) == depthStart); 1071if (_depth == depthStart) 1086EndCopy(navigator, (_depth - 1) == depthStart); 1576if (_depth == 1)