9 references to Utf8StringSequence
System.Text.Json (9)
System\Text\Json\ThrowHelper.cs (1)
325case EnclosingContainerType.Utf8StringSequence: return "UTF-8";
System\Text\Json\Writer\Utf8JsonWriter.cs (2)
125Debug.Assert(_enclosingContainer == EnclosingContainerType.Utf8StringSequence); 1264private bool IsWritingPartialString => _enclosingContainer >= EnclosingContainerType.Utf8StringSequence;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Helpers.cs (2)
30/// <see cref="EnclosingContainerType.Utf8StringSequence"/>, <see cref="EnclosingContainerType.Utf16StringSequence"/>, <see cref="EnclosingContainerType.Base64StringSequence"/>: 79Debug.Assert(currentSegmentEncoding is EnclosingContainerType.Utf8StringSequence or EnclosingContainerType.Utf16StringSequence or EnclosingContainerType.Base64StringSequence);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.StringSegment.cs (4)
201ValidateWritingSegment(EnclosingContainerType.Utf8StringSequence); 204if (_enclosingContainer != EnclosingContainerType.Utf8StringSequence) 207_enclosingContainer = EnclosingContainerType.Utf8StringSequence; 235Debug.Assert(_enclosingContainer == EnclosingContainerType.Utf8StringSequence);