2 writes to FlushThreshold
System.Text.Json (2)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (2)
165
state.
FlushThreshold
= flushThreshold;
307
state.
FlushThreshold
= (int)(bufferWriter.Capacity * JsonSerializer.FlushThreshold);
3 references to FlushThreshold
System.Text.Json (3)
System\Text\Json\Serialization\JsonConverter.cs (3)
191
Debug.Assert(state.
FlushThreshold
== 0 || (state.PipeWriter is { CanGetUnflushedBytes: true }),
196
return state.
FlushThreshold
> 0 && pipeWriter.UnflushedBytes > state.
FlushThreshold
- writer.BytesPending;