6 writes to NumberHandling
System.Text.Json (6)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (2)
98state.Current.NumberHandling = jsonPropertyInfo.EffectiveNumberHandling; 623state.Current.NumberHandling = jsonParameterInfo.NumberHandling;
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
73state.Current.NumberHandling = jsonPropertyInfo.EffectiveNumberHandling;
System\Text\Json\Serialization\ReadStack.cs (3)
107Current.NumberHandling = Current.JsonPropertyInfo.EffectiveNumberHandling; 136Current.NumberHandling = numberHandling ?? Current.JsonPropertyInfo.EffectiveNumberHandling; 219Current.NumberHandling ??= Current.JsonPropertyInfo.NumberHandling;
7 references to NumberHandling
System.Text.Json (7)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
86if (elementConverter.CanUseDirectReadOrWrite && state.Current.NumberHandling == null)
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
99if (_valueConverter.CanUseDirectReadOrWrite && state.Current.NumberHandling == null)
System\Text\Json\Serialization\JsonConverterOfT.cs (2)
187if (state.Current.NumberHandling != null && IsInternalConverterForNumberType) 189value = ReadNumberWithCustomHandling(ref reader, state.Current.NumberHandling.Value, options);
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (2)
308else if (EffectiveConverter.CanUseDirectReadOrWrite && state.Current.NumberHandling == null) 382if (EffectiveConverter.CanUseDirectReadOrWrite && state.Current.NumberHandling == null)
System\Text\Json\Serialization\ReadStack.cs (1)
126JsonNumberHandling? numberHandling = Current.NumberHandling;