3 writes to depth
System.Runtime.Serialization (3)
System\Xml\XmlC14NWriter.cs (3)
95
depth
= 0;
170
depth
++;
178
depth
--;
17 references to depth
System.Runtime.Serialization (17)
System\Xml\XmlC14NWriter.cs (17)
162
else if (
depth
== scopes.Length)
164
Scope[] newScopes = new Scope[
depth
* 2];
165
Array.Copy(scopes, newScopes,
depth
);
168
scopes[
depth
].xmlnsAttributeCount = xmlnsAttributeCount;
169
scopes[
depth
].xmlnsOffset = xmlnsOffset;
179
xmlnsAttributeCount = scopes[
depth
].xmlnsAttributeCount;
180
xmlnsOffset = scopes[
depth
].xmlnsOffset;
190
bool isRootElement = (this.
depth
== 0);
239
bool isRootElement = (this.
depth
== 0);
289
for (int i = scopes[
depth
- 1].xmlnsAttributeCount; i < xmlnsAttributeCount; i++)
517
if (this.
depth
> 0)
544
if (this.
depth
> 0)
561
if (this.
depth
> 0)
765
if ((
depth
> 0) && (this.inclusivePrefixes != null))
773
if (
depth
== 0)
781
int xmlnsAttributeIndex = scopes[
depth
- 1].xmlnsAttributeCount;
815
int xmlnsAttributeMin = scopes[
depth
- 1].xmlnsAttributeCount;