5 writes to _valueConverter
System.Text.Json (5)
System\Text\Json\Serialization\Converters\Collection\DictionaryDefaultConverter.cs (1)
45
_valueConverter
??= GetConverter<TValue>(typeInfo.ElementTypeInfo!);
System\Text\Json\Serialization\Converters\Collection\DictionaryOfTKeyTValueConverter.cs (1)
48
_valueConverter
??= GetConverter<TValue>(typeInfo.ElementTypeInfo!);
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (1)
60
_valueConverter
??= GetConverter<object?>(typeInfo.ElementTypeInfo!);
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (2)
97
_valueConverter
??= GetConverter<TValue>(elementTypeInfo);
221
_valueConverter
??= GetConverter<TValue>(elementTypeInfo);
11 references to _valueConverter
System.Text.Json (11)
System\Text\Json\Serialization\Converters\Collection\DictionaryDefaultConverter.cs (1)
62
if (!
_valueConverter
.TryWrite(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\DictionaryOfTKeyTValueConverter.cs (3)
50
if (!state.SupportContinuation &&
_valueConverter
.CanUseDirectReadOrWrite && state.Current.NumberHandling == null)
57
_valueConverter
.Write(writer, enumerator.Current.Value, options);
79
if (!
_valueConverter
.TryWrite(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\IDictionaryConverter.cs (2)
83
_valueConverter
.WriteAsPropertyNameCore(writer, key, options, state.Current.IsWritingExtensionDataProperty);
88
if (!
_valueConverter
.TryWrite(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (5)
99
if (
_valueConverter
.CanUseDirectReadOrWrite && state.Current.NumberHandling == null)
121
TValue? element =
_valueConverter
.Read(ref reader, ElementType, options);
147
_valueConverter
.TryRead(ref reader, ElementType, options, ref state, out TValue? element, out _);
279
if (!reader.TryAdvanceWithOptionalReadAhead(
_valueConverter
.RequiresReadAhead))
293
bool success =
_valueConverter
.TryRead(ref reader, typeof(TValue), options, ref state, out TValue? element, out _);