3 writes to scopes
System.Runtime.Serialization (3)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (3)
1325
scopes
= new JsonNodeType[4];
1331
scopes
= newScopes;
1360
scopes
= null;
10 references to scopes
System.Runtime.Serialization (10)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (10)
227
get { return (depth > 0) && (
scopes
[depth] == JsonNodeType.Collection); }
756
if ((depth > 0) &&
scopes
[depth] == JsonNodeType.Element)
1323
if (
scopes
== null)
1327
else if (
scopes
.Length == depth)
1330
Array.Copy(
scopes
, newScopes, depth);
1333
scopes
[depth] = currentNodeType;
1338
JsonNodeType nodeTypeToReturn =
scopes
[depth];
1339
scopes
[depth] = JsonNodeType.None;
1358
if ((
scopes
!= null) && (
scopes
.Length > JsonGlobals.maxScopeSize))