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