3 writes to depth
System.Runtime.Serialization (3)
System\Xml\XmlBaseReader.cs (3)
139
this.
depth
= 0;
302
depth
++;
332
depth
--;
21 references to depth
System.Runtime.Serialization (21)
System\Xml\XmlBaseReader.cs (21)
269
if (
depth
== 0)
272
return elementNodes[
depth
];
278
if (
depth
== 0)
280
XmlElementNode elementNode = elementNodes[
depth
];
288
if (
depth
!= 0)
295
if (
depth
== 0)
303
if (
depth
> quotas.MaxDepth)
309
else if (elementNodes.Length ==
depth
)
311
XmlElementNode[] newElementNodes = new XmlElementNode[
depth
* 2];
312
Array.Copy(elementNodes, newElementNodes,
depth
);
315
XmlElementNode elementNode = elementNodes[
depth
];
319
elementNodes[
depth
] = elementNode;
330
if (
depth
== 0)
427
return
depth
== 0;
526
return this.
depth
+ node.DepthDelta;
841
if (
depth
== 0)
844
MoveToNode(elementNodes[
depth
]);
1358
int nodeDepth = node.NodeType == XmlNodeType.Element ? this.
depth
- 1 : this.
depth
;
2010
for (int i =
depth
; i > 0; i--)
2013
if (i !=
depth
)