3 instantiations of JsonPersonExtended
Microsoft.AspNetCore.Mvc.Core.Test (3)
Formatters\SystemTextJsonOutputFormatterTest.cs (2)
179JsonPerson person = new JsonPersonExtended() 255yield return new JsonPersonExtended() { Name = "Two", Age = 99 };
TestJsonContext.JsonPersonExtended.g.cs (1)
33ObjectCreator = () => new global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended(),
19 references to JsonPersonExtended
Microsoft.AspNetCore.Mvc.Core.Test (19)
Formatters\SystemTextJsonOutputFormatterTest.cs (2)
304[JsonDerivedType(typeof(JsonPersonExtended), nameof(JsonPersonExtended))]
TestJsonContext.GetJsonTypeInfo.g.cs (1)
28if (type == typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended))
TestJsonContext.JsonPersonExtended.g.cs (16)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended>? _JsonPersonExtended; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended> JsonPersonExtended 24get => _JsonPersonExtended ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended> Create_JsonPersonExtended(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended), 60Getter = static obj => ((global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended)obj).Age, 61Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended)obj).Age = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended).GetProperty("Age", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 138private void JsonPersonExtendedSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended? value) 148writer.WriteNumber(PropName_Age, ((global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPersonExtended)value).Age);