3 writes to JsonTypeInfo
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
197propertyInfo.JsonTypeInfo = propertyInfoValues.PropertyTypeInfo;
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.cs (2)
145JsonTypeInfo = this, 154JsonTypeInfo = this
15 references to JsonTypeInfo
System.Text.Json (15)
System\Text\Json\Schema\JsonSchemaExporter.cs (2)
238property.JsonTypeInfo, 248propertySchema.DefaultValue = JsonSerializer.SerializeToNode(parameterInfo.DefaultValue, property.JsonTypeInfo);
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (2)
129Func<object>? createObjectForExtensionDataProp = jsonPropertyInfo.JsonTypeInfo.CreateObject 130?? jsonPropertyInfo.JsonTypeInfo.CreateObjectForExtensionDataProperty;
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (1)
124internal JsonTypeInfo JsonTypeInfo => MatchingProperty.JsonTypeInfo;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (6)
324if (value && !JsonTypeInfo.IsValidExtensionDataProperty(PropertyType)) 664if (JsonTypeInfo.SupportsPolymorphicDeserialization) 783/// The value of <see cref="Name"/> cannot conflict with that of other <see cref="JsonPropertyInfo"/> defined in the declaring <see cref="JsonTypeInfo"/>. 887JsonTypeInfo.ElementTypeInfo 906if (JsonTypeInfo.ElementType == JsonTypeInfo.ObjectType && reader.TokenType == JsonTokenType.Null) 978/// Returns true if <see cref="JsonTypeInfo"/> has been configured.
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
840if (!property.JsonTypeInfo.IsCompatibleWithCurrentOptions)
System\Text\Json\Serialization\ReadStack.cs (1)
125JsonTypeInfo jsonTypeInfo = Current.JsonPropertyInfo?.JsonTypeInfo ?? Current.CtorArgumentState!.JsonParameterInfo!.JsonTypeInfo;
System\Text\Json\Serialization\WriteStack.cs (1)
181return _count == 0 ? Current.JsonTypeInfo : Current.JsonPropertyInfo!.JsonTypeInfo;
System\Text\Json\Serialization\WriteStackFrame.cs (1)
112: JsonPropertyInfo!.JsonTypeInfo;