3 writes to _scopes
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (3)
1128_scopes = new JsonNodeType[4]; 1134_scopes = newScopes; 1163_scopes = null;
10 references to _scopes
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (10)
171private bool IsWritingCollection => (_depth > 0) && (_scopes![_depth] == JsonNodeType.Collection); 628if ((_depth > 0) && _scopes![_depth] == JsonNodeType.Element) 1126if (_scopes == null) 1130else if (_scopes.Length == _depth) 1133Array.Copy(_scopes, newScopes, _depth); 1136_scopes[_depth] = currentNodeType; 1141JsonNodeType nodeTypeToReturn = _scopes![_depth]; 1142_scopes[_depth] = JsonNodeType.None; 1161if ((_scopes != null) && (_scopes.Length > JsonGlobals.maxScopeSize))