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