2 writes to RequiresReadAhead
System.Text.Json (2)
System\Text\Json\Serialization\Converters\Object\ObjectConverter.cs (1)
97
RequiresReadAhead
= true;
System\Text\Json\Serialization\JsonConverter.cs (1)
46
RequiresReadAhead
= value == ConverterStrategy.Value;
6 references to RequiresReadAhead
System.Text.Json (6)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
206
if (!reader.TryAdvanceWithOptionalReadAhead(elementConverter.
RequiresReadAhead
))
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
279
if (!reader.TryAdvanceWithOptionalReadAhead(_valueConverter.
RequiresReadAhead
))
System\Text\Json\Serialization\Converters\Collection\RootLevelListConverter.cs (1)
38
if (!reader.TryAdvanceToNextRootLevelValueWithOptionalReadAhead(elementConverter.
RequiresReadAhead
, out bool isAtEndOfStream))
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
499
bool requiresReadAhead = jsonPropertyInfo.EffectiveConverter.
RequiresReadAhead
|| state.Current.UseExtensionProperty;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
477
if (!reader.TryAdvanceWithOptionalReadAhead(jsonParameterInfo.EffectiveConverter.
RequiresReadAhead
))
System\Text\Json\Serialization\JsonConverterOfT.ReadCore.cs (1)
22
if (!reader.TryAdvanceWithOptionalReadAhead(
RequiresReadAhead
))