5 writes to currentDepth
System.Xml (5)
System\Xml\Schema\Asttree.cs (5)
260
this.
currentDepth
= -1;
265
this.
currentDepth
= -1; // context depth is 0 -- enforce moveToChild for the context node
282
this.
currentDepth
++;
310
this.
currentDepth
--;
318
this.
currentDepth
-- ;
5 references to currentDepth
System.Xml (5)
System\Xml\Schema\Asttree.cs (5)
253
get { return this.
currentDepth
; }
296
if (stack.MoveToChild (localname, URN, this.
currentDepth
)) {
308
if (this.
currentDepth
== 0) { // leave context node
316
((AxisStack)axisStack[i]).MoveToParent (localname, URN, this.
currentDepth
);
329
if (((AxisStack)axisStack[i]).MoveToAttribute(localname, URN, this.
currentDepth
+ 1)) { // don't change depth for attribute, but depth is add 1