19 writes to JsonPropertyInfo
System.Text.Json (19)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (2)
84state.Current.JsonPropertyInfo = elementTypeInfo.PropertyInfoForTypeInfo; 199state.Current.JsonPropertyInfo = elementTypeInfo.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (6)
115state.Current.JsonPropertyInfo = keyTypeInfo.PropertyInfoForTypeInfo; 120state.Current.JsonPropertyInfo = elementTypeInfo.PropertyInfoForTypeInfo; 140state.Current.JsonPropertyInfo = keyTypeInfo.PropertyInfoForTypeInfo; 146state.Current.JsonPropertyInfo = elementTypeInfo.PropertyInfoForTypeInfo; 268state.Current.JsonPropertyInfo = keyTypeInfo.PropertyInfoForTypeInfo; 292state.Current.JsonPropertyInfo = elementTypeInfo.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\Collection\RootLevelListConverter.cs (1)
31state.Current.JsonPropertyInfo = _elementTypeInfo.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (1)
42state.Current.JsonPropertyInfo = state.Current.JsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (1)
42state.Current.JsonPropertyInfo = state.Current.JsonTypeInfo.ElementTypeInfo!.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (3)
97state.Current.JsonPropertyInfo = jsonPropertyInfo; 587state.Current.JsonPropertyInfo = null; 621state.Current.JsonPropertyInfo = null;
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
72state.Current.JsonPropertyInfo = jsonPropertyInfo;
System\Text\Json\Serialization\ReadStack.cs (3)
106Current.JsonPropertyInfo = jsonTypeInfo.PropertyInfoForTypeInfo; 134Current.JsonPropertyInfo = jsonTypeInfo.PropertyInfoForTypeInfo; 218Current.JsonPropertyInfo = derivedJsonTypeInfo.PropertyInfoForTypeInfo;
System\Text\Json\Serialization\ReadStackFrame.cs (1)
98JsonPropertyInfo = null!;
12 references to JsonPropertyInfo
System.Text.Json (12)
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (2)
196Debug.Assert(state.Current.JsonPropertyInfo != null); 197jsonPropertyInfo = state.Current.JsonPropertyInfo!;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
436jsonPropertyInfo = state.Current.JsonPropertyInfo;
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
227JsonPropertyInfo? propertyInfo = state.Current.JsonPropertyInfo;
System\Text\Json\Serialization\ReadStack.cs (6)
36=> Current.HasParentObject ? Parent.JsonPropertyInfo : null; 107Current.NumberHandling = Current.JsonPropertyInfo.EffectiveNumberHandling; 125JsonTypeInfo jsonTypeInfo = Current.JsonPropertyInfo?.JsonTypeInfo ?? Current.CtorArgumentState!.JsonParameterInfo!.JsonTypeInfo; 136Current.NumberHandling = numberHandling ?? Current.JsonPropertyInfo.EffectiveNumberHandling; 219Current.NumberHandling ??= Current.JsonPropertyInfo.NumberHandling; 357utf8PropertyName = frame.JsonPropertyInfo?.NameAsUtf8Bytes ??
System\Text\Json\ThrowHelper.Serialization.cs (2)
481Type propertyType = state.Current.JsonPropertyInfo?.PropertyType ?? state.Current.JsonTypeInfo.Type; 575Type propertyType = state.Current.JsonPropertyInfo?.PropertyType ?? state.Current.JsonTypeInfo.Type;