13 writes to _depth
System.Private.Xml (13)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (13)
77_depth = 1; 453_depth++; 487_depth--; 507_depth++; 526_depth--; 600_depth++; 609_depth--; 754_depth++; 774_depth--; 793_depth++; 815_depth--; 836_depth++; 858_depth--;
18 references to _depth
System.Private.Xml (18)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (18)
204if (_depth == 0) 237if (ns.Length != 0 && _depth != 0) 258if (_depth == 0) 544if (_depth == 0) 595Debug.Assert(_depth == 0, "Root node can only be constructed at top-level."); 608Debug.Assert(_depth == 1, "Root node can only be constructed at top-level."); 735if (_depth == 0) 779if (_depth == 0) 817if (_depth == 0) 861if (_depth == 0) 1025if (_depth == 0) 1036int depthStart = _depth; 1041if (StartCopy(navigator, _depth == depthStart)) 1058CopyNamespaces(navigator, (_depth - 1 == depthStart) ? XPathNamespaceScope.ExcludeXml : XPathNamespaceScope.Local); 1066EndCopy(navigator, (_depth - 1) == depthStart); 1072if (_depth == depthStart) 1087EndCopy(navigator, (_depth - 1) == depthStart); 1577if (_depth == 1)