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)
171
private bool IsWritingCollection => (_depth > 0) && (
_scopes
![_depth] == JsonNodeType.Collection);
628
if ((_depth > 0) &&
_scopes
![_depth] == JsonNodeType.Element)
1126
if (
_scopes
== null)
1130
else if (
_scopes
.Length == _depth)
1133
Array.Copy(
_scopes
, newScopes, _depth);
1136
_scopes
[_depth] = currentNodeType;
1141
JsonNodeType nodeTypeToReturn =
_scopes
![_depth];
1142
_scopes
[_depth] = JsonNodeType.None;
1161
if ((
_scopes
!= null) && (
_scopes
.Length > JsonGlobals.maxScopeSize))