3 references to ArrayPoolMaxSizeBeforeUsingNormalAlloc
System.Text.Json (3)
System\Text\Json\Serialization\JsonSerializer.Read.String.cs (2)
436
json.Length <= (JsonConstants.
ArrayPoolMaxSizeBeforeUsingNormalAlloc
/ JsonConstants.MaxExpansionFactorWhileTranscoding) ? tempArray = ArrayPool<byte>.Shared.Rent(json.Length * JsonConstants.MaxExpansionFactorWhileTranscoding) :
467
json.Length <= (JsonConstants.
ArrayPoolMaxSizeBeforeUsingNormalAlloc
/ JsonConstants.MaxExpansionFactorWhileTranscoding) ? tempArray = ArrayPool<byte>.Shared.Rent(json.Length * JsonConstants.MaxExpansionFactorWhileTranscoding) :
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (1)
210
json.Length <= (JsonConstants.
ArrayPoolMaxSizeBeforeUsingNormalAlloc
/ JsonConstants.MaxExpansionFactorWhileTranscoding) ? tempArray = ArrayPool<byte>.Shared.Rent(json.Length * JsonConstants.MaxExpansionFactorWhileTranscoding) :