8 references to Array
System.Text.Json (8)
System\Text\Json\Writer\Utf8JsonWriter.cs (3)
1079
if (_enclosingContainer != EnclosingContainerType.
Array
)
1094
EnclosingContainerType container = _bitStack.Pop() ? EnclosingContainerType.Object : EnclosingContainerType.
Array
;
1161
_enclosingContainer = EnclosingContainerType.
Array
;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Helpers.cs (2)
19
/// <see cref="EnclosingContainerType.
Array
"/>: Writing a value is always allowed.
36
private bool CanWriteValue => _enclosingContainer == EnclosingContainerType.
Array
| (byte)_enclosingContainer == (byte)_tokenType;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.StringSegment.cs (3)
58
EnclosingContainerType container = _bitStack.Peek() ? EnclosingContainerType.Object : EnclosingContainerType.
Array
;
226
EnclosingContainerType container = _bitStack.Peek() ? EnclosingContainerType.Object : EnclosingContainerType.
Array
;
393
EnclosingContainerType container = _bitStack.Peek() ? EnclosingContainerType.Object : EnclosingContainerType.
Array
;