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