4 references to CanWriteValue
System.Text.Json (4)
System\Text\Json\Writer\Utf8JsonWriter.cs (2)
635if (!CanWriteValue) 1268/// to allow <see cref="CanWriteValue"/> to be done using bitwise operations and must be kept in sync with <see cref="JsonTokenType"/>.
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Helpers.cs (2)
44if (!CanWriteValue) 86if (_enclosingContainer != currentSegmentEncoding && !CanWriteValue)