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)
153else if (_depth == _scopes.Length) 155Scope[] newScopes = new Scope[_depth * 2]; 156Array.Copy(_scopes, newScopes, _depth); 159_scopes[_depth].xmlnsAttributeCount = _xmlnsAttributeCount; 160_scopes[_depth].xmlnsOffset = _xmlnsOffset; 170_xmlnsAttributeCount = _scopes![_depth].xmlnsAttributeCount; 171_xmlnsOffset = _scopes[_depth].xmlnsOffset; 180bool isRootElement = (_depth == 0); 223bool isRootElement = (_depth == 0); 272for (int i = _scopes![_depth - 1].xmlnsAttributeCount; i < _xmlnsAttributeCount; i++) 489if (_depth > 0) 514if (_depth > 0) 531if (_depth > 0) 691if ((_depth > 0) && (_inclusivePrefixes != null)) 699if (_depth == 0) 707int xmlnsAttributeIndex = _scopes![_depth - 1].xmlnsAttributeCount; 741int xmlnsAttributeMin = _scopes![_depth - 1].xmlnsAttributeCount;