3 writes to _scopes
System.Private.DataContractSerialization (3)
System\Xml\XmlCanonicalWriter.cs (3)
119_scopes = null; 151_scopes = new Scope[4]; 157_scopes = newScopes;
15 references to _scopes
System.Private.DataContractSerialization (15)
System\Xml\XmlCanonicalWriter.cs (15)
118if (_scopes != null && _scopes.Length > 16) 146[MemberNotNull(nameof(_scopes))] 149if (_scopes == null) 153else if (_depth == _scopes.Length) 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; 194for (int i = 0; i < _scopes[0].xmlnsAttributeCount; ++i) 237for (int i = 0; i < _scopes[0].xmlnsAttributeCount; ++i) 272for (int i = _scopes![_depth - 1].xmlnsAttributeCount; i < _xmlnsAttributeCount; i++) 707int xmlnsAttributeIndex = _scopes![_depth - 1].xmlnsAttributeCount; 741int xmlnsAttributeMin = _scopes![_depth - 1].xmlnsAttributeCount;