1 write to _elementConverter
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (1)
22
_elementConverter
= elementConverter;
9 references to _elementConverter
System.Text.Json (9)
System\Text\Json\Serialization\Converters\Value\NullableConverter.cs (9)
11
internal override JsonConverter? NullableElementConverter =>
_elementConverter
;
13
internal override bool CanPopulate =>
_elementConverter
.CanPopulate;
14
internal override bool ConstructorIsParameterized =>
_elementConverter
.ConstructorIsParameterized;
38
if (
_elementConverter
.OnTryRead(ref reader, typeof(T), options, ref state, out T element))
59
return
_elementConverter
.TryWrite(writer, value.Value, options, ref state);
69
T value =
_elementConverter
.Read(ref reader, typeof(T), options);
81
_elementConverter
.Write(writer, value.Value, options);
92
T value =
_elementConverter
.ReadNumberWithCustomHandling(ref reader, numberHandling, options);
104
_elementConverter
.WriteNumberWithCustomHandling(writer, value.Value, handling);