1 type derived from JsonPerson
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
308private class JsonPersonExtended : JsonPerson
2 instantiations of JsonPerson
Microsoft.AspNetCore.Mvc.Core.Test (2)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
250yield return new JsonPerson() { Name = "One" };
TestJsonContext.JsonPerson.g.cs (1)
33ObjectCreator = () => new global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson(),
28 references to JsonPerson
Microsoft.AspNetCore.Mvc.Core.Test (28)
Formatters\SystemTextJsonOutputFormatterTest.cs (6)
179JsonPerson person = new JsonPersonExtended() 194typeof(JsonPerson), 234typeof(IAsyncEnumerable<JsonPerson>), 248private static async IAsyncEnumerable<JsonPerson> GetPeopleAsync() 313[JsonSerializable(typeof(JsonPerson))] 314[JsonSerializable(typeof(IAsyncEnumerable<JsonPerson>))]
TestJsonContext.GetJsonTypeInfo.g.cs (2)
24if (type == typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson)) 36if (type == typeof(global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>))
TestJsonContext.IAsyncEnumerableJsonPerson.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>>? _IAsyncEnumerableJsonPerson; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>> IAsyncEnumerableJsonPerson 24get => _IAsyncEnumerableJsonPerson ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>> Create_IAsyncEnumerableJsonPerson(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIAsyncEnumerableInfo<global::System.Collections.Generic.IAsyncEnumerable<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>, global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>(options, info);
TestJsonContext.JsonPerson.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>? _JsonPerson; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson> JsonPerson 24get => _JsonPerson ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson> Create_JsonPerson(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatterTest.JsonPerson).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.JsonPerson>(options, objectInfo);