6 writes to NumberHandling
System.Text.Json (6)
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (4)
344
state.Current.
NumberHandling
= jsonPropertyInfo.EffectiveNumberHandling;
360
state.Current.
NumberHandling
= extensionDataProperty.EffectiveNumberHandling;
393
state.Current.
NumberHandling
= jsonPropertyInfo.EffectiveNumberHandling;
423
state.Current.
NumberHandling
= extensionDataProperty.EffectiveNumberHandling;
System\Text\Json\Serialization\WriteStack.cs (2)
156
Current.
NumberHandling
= Current.JsonPropertyInfo.EffectiveNumberHandling;
210
Current.
NumberHandling
= numberHandling ?? Current.JsonPropertyInfo.EffectiveNumberHandling;
9 references to NumberHandling
System.Text.Json (9)
System\Text\Json\Serialization\Converters\Collection\ArrayConverter.cs (1)
39
if (elementConverter.CanUseDirectReadOrWrite && state.Current.
NumberHandling
== null)
System\Text\Json\Serialization\Converters\Collection\DictionaryOfTKeyTValueConverter.cs (1)
50
if (!state.SupportContinuation && _valueConverter.CanUseDirectReadOrWrite && state.Current.
NumberHandling
== null)
System\Text\Json\Serialization\Converters\Collection\IListConverter.cs (1)
47
if (elementConverter.CanUseDirectReadOrWrite && state.Current.
NumberHandling
== null)
System\Text\Json\Serialization\Converters\Collection\ListOfTConverter.cs (1)
44
if (elementConverter.CanUseDirectReadOrWrite && state.Current.
NumberHandling
== null)
System\Text\Json\Serialization\Converters\Collection\ReadOnlyMemoryConverter.cs (1)
58
if (elementConverter.CanUseDirectReadOrWrite && state.Current.
NumberHandling
== null)
System\Text\Json\Serialization\Converters\JsonMetadataServicesConverter.cs (1)
58
!JsonHelpers.RequiresSpecialNumberHandlingOnWrite(state.Current.
NumberHandling
) &&
System\Text\Json\Serialization\JsonConverterOfT.cs (2)
348
if (state.Current.
NumberHandling
!= null && IsInternalConverterForNumberType)
350
WriteNumberWithCustomHandling(writer, value, state.Current.
NumberHandling
.Value);
System\Text\Json\Serialization\WriteStack.cs (1)
200
JsonNumberHandling? numberHandling = Current.
NumberHandling
;