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)
62if (!_valueConverter.TryWrite(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\DictionaryOfTKeyTValueConverter.cs (3)
50if (!state.SupportContinuation && _valueConverter.CanUseDirectReadOrWrite && state.Current.NumberHandling == null) 57_valueConverter.Write(writer, enumerator.Current.Value, options); 79if (!_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); 88if (!_valueConverter.TryWrite(writer, element, options, ref state))
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (5)
99if (_valueConverter.CanUseDirectReadOrWrite && state.Current.NumberHandling == null) 121TValue? element = _valueConverter.Read(ref reader, ElementType, options); 147_valueConverter.TryRead(ref reader, ElementType, options, ref state, out TValue? element, out _); 279if (!reader.TryAdvanceWithOptionalReadAhead(_valueConverter.RequiresReadAhead)) 293bool success = _valueConverter.TryRead(ref reader, typeof(TValue), options, ref state, out TValue? element, out _);