4 writes to depth
System.Runtime.Serialization (4)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (4)
265
depth
= 0;
1322
depth
++;
1340
depth
--;
1356
depth
= 0;
17 references to depth
System.Runtime.Serialization (17)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (17)
227
get { return (
depth
> 0) && (scopes[
depth
] == JsonNodeType.Collection); }
263
if (
depth
!= 0)
650
while (
depth
> 0)
664
if (
depth
== 0)
734
if (
depth
!= 0)
756
if ((
depth
> 0) && scopes[
depth
] == JsonNodeType.Element)
1023
if ((nodeType != JsonNodeType.None) &&
depth
== 0)
1304
if (
depth
== 0)
1327
else if (scopes.Length ==
depth
)
1329
JsonNodeType[] newScopes = new JsonNodeType[
depth
* 2];
1330
Array.Copy(scopes, newScopes,
depth
);
1333
scopes[
depth
] = currentNodeType;
1338
JsonNodeType nodeTypeToReturn = scopes[
depth
];
1339
scopes[
depth
] = JsonNodeType.None;
1354
if (
depth
!= 0)