1 instantiation of JsonTodoChild
Microsoft.AspNetCore.Http.Microbenchmarks (1)
SharedTestJsonContext.JsonTodoChild.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
(),
19 references to JsonTodoChild
Microsoft.AspNetCore.Http.Microbenchmarks (19)
SharedTestJsonContext.GetJsonTypeInfo.g.cs (1)
30
if (type == typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
))
SharedTestJsonContext.JsonTodoChild.g.cs (16)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
>? _JsonTodoChild;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
> JsonTodoChild
22
get => _JsonTodoChild ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
> Create_JsonTodoChild(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
)obj).Child,
59
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
)obj).Child = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
).GetProperty("Child", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
136
private void JsonTodoChildSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
? value)
146
writer.WriteString(PropName_Child, ((global::Microsoft.AspNetCore.Http.Generators.Tests.
JsonTodoChild
)value).Child);
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (2)
86
[JsonDerivedType(typeof(
JsonTodoChild
), nameof(
JsonTodoChild
))]