8 references to Array
System.Text.Json (8)
System\Text\Json\Writer\Utf8JsonWriter.cs (3)
1079if (_enclosingContainer != EnclosingContainerType.Array) 1094EnclosingContainerType 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. 36private bool CanWriteValue => _enclosingContainer == EnclosingContainerType.Array | (byte)_enclosingContainer == (byte)_tokenType;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.StringSegment.cs (3)
58EnclosingContainerType container = _bitStack.Peek() ? EnclosingContainerType.Object : EnclosingContainerType.Array; 226EnclosingContainerType container = _bitStack.Peek() ? EnclosingContainerType.Object : EnclosingContainerType.Array; 393EnclosingContainerType container = _bitStack.Peek() ? EnclosingContainerType.Object : EnclosingContainerType.Array;