3 writes to _depth
System.Private.DataContractSerialization (3)
System\Xml\XmlBaseReader.cs (3)
117
_depth
= 0;
265
_depth
++;
295
_depth
--;
21 references to _depth
System.Private.DataContractSerialization (21)
System\Xml\XmlBaseReader.cs (21)
232
if (
_depth
== 0)
235
return _elementNodes![
_depth
];
241
if (
_depth
== 0)
243
XmlElementNode elementNode = _elementNodes![
_depth
];
251
if (
_depth
!= 0)
258
if (
_depth
== 0)
266
if (
_depth
> _quotas.MaxDepth)
272
else if (_elementNodes.Length ==
_depth
)
274
XmlElementNode[] newElementNodes = new XmlElementNode[
_depth
* 2];
275
Array.Copy(_elementNodes, newElementNodes,
_depth
);
278
XmlElementNode elementNode = _elementNodes[
_depth
];
282
_elementNodes[
_depth
] = elementNode;
293
if (
_depth
== 0)
390
return
_depth
== 0;
487
return
_depth
+ _node.DepthDelta;
812
if (
_depth
== 0)
815
MoveToNode(_elementNodes![
_depth
]);
1252
int nodeDepth = _node.NodeType == XmlNodeType.Element ?
_depth
- 1 :
_depth
;
1885
for (int i =
_depth
; i > 0; i--)
1888
if (i !=
_depth
)