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