3 writes to _depth
System.Private.DataContractSerialization (3)
System\Xml\XmlCanonicalWriter.cs (3)
87
_depth
= 0;
161
_depth
++;
169
_depth
--;
17 references to _depth
System.Private.DataContractSerialization (17)
System\Xml\XmlCanonicalWriter.cs (17)
153
else if (
_depth
== _scopes.Length)
155
Scope[] newScopes = new Scope[
_depth
* 2];
156
Array.Copy(_scopes, newScopes,
_depth
);
159
_scopes[
_depth
].xmlnsAttributeCount = _xmlnsAttributeCount;
160
_scopes[
_depth
].xmlnsOffset = _xmlnsOffset;
170
_xmlnsAttributeCount = _scopes![
_depth
].xmlnsAttributeCount;
171
_xmlnsOffset = _scopes[
_depth
].xmlnsOffset;
180
bool isRootElement = (
_depth
== 0);
223
bool isRootElement = (
_depth
== 0);
272
for (int i = _scopes![
_depth
- 1].xmlnsAttributeCount; i < _xmlnsAttributeCount; i++)
489
if (
_depth
> 0)
514
if (
_depth
> 0)
531
if (
_depth
> 0)
691
if ((
_depth
> 0) && (_inclusivePrefixes != null))
699
if (
_depth
== 0)
707
int xmlnsAttributeIndex = _scopes![
_depth
- 1].xmlnsAttributeCount;
741
int xmlnsAttributeMin = _scopes![
_depth
- 1].xmlnsAttributeCount;