5 writes to _currentDepth
System.Text.Json (5)
System\Text\Json\BitStack.cs (5)
42
_currentDepth
++;
56
_currentDepth
++;
100
_currentDepth
--;
147
_currentDepth
++;
154
_currentDepth
++;
9 references to _currentDepth
System.Text.Json (9)
System\Text\Json\BitStack.cs (9)
29
public int CurrentDepth =>
_currentDepth
;
34
if (
_currentDepth
< AllocationFreeMaxDepth)
48
if (
_currentDepth
< AllocationFreeMaxDepth)
65
int index =
_currentDepth
- AllocationFreeMaxDepth;
102
if (
_currentDepth
< AllocationFreeMaxDepth)
107
else if (
_currentDepth
== AllocationFreeMaxDepth)
121
int index =
_currentDepth
- AllocationFreeMaxDepth - 1;
146
Debug.Assert(
_currentDepth
== 0, "Only call SetFirstBit when depth is 0");
153
Debug.Assert(
_currentDepth
== 0, "Only call ResetFirstBit when depth is 0");