1 write to _bitStack
System.Text.Json (1)
System\Text\Json\Writer\Utf8JsonWriter.cs (1)
379
_bitStack
= default;
13 references to _bitStack
System.Text.Json (13)
System\Text\Json\Writer\Utf8JsonWriter.cs (7)
1094
EnclosingContainerType container =
_bitStack
.Pop() ? EnclosingContainerType.Object : EnclosingContainerType.Array;
1095
_enclosingContainer =
_bitStack
.CurrentDepth == 0 ? EnclosingContainerType.None : container;
1160
_bitStack
.PushFalse();
1166
_bitStack
.PushTrue();
1291
/// so <see cref="
_bitStack
"/> does not need to store its state.
1298
/// so <see cref="
_bitStack
"/> does not need to store its state.
1305
/// so <see cref="
_bitStack
"/> does not need to store its state.
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.StringSegment.cs (6)
58
EnclosingContainerType container =
_bitStack
.Peek() ? EnclosingContainerType.Object : EnclosingContainerType.Array;
59
_enclosingContainer =
_bitStack
.CurrentDepth == 0 ? EnclosingContainerType.None : container;
226
EnclosingContainerType container =
_bitStack
.Peek() ? EnclosingContainerType.Object : EnclosingContainerType.Array;
227
_enclosingContainer =
_bitStack
.CurrentDepth == 0 ? EnclosingContainerType.None : container;
393
EnclosingContainerType container =
_bitStack
.Peek() ? EnclosingContainerType.Object : EnclosingContainerType.Array;
394
_enclosingContainer =
_bitStack
.CurrentDepth == 0 ? EnclosingContainerType.None : container;