3 instantiations of TodoChild
Microsoft.AspNetCore.Http.Results.Tests (3)
HttpResultsHelperTests.cs (2)
84
var value = new
TodoChild
()
118
var value = new
TodoChild
()
TestJsonContext.TodoChild.g.cs (1)
33
ObjectCreator = () => new global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
(),
24 references to TodoChild
Microsoft.AspNetCore.Http.Results.Tests (24)
HttpResultsHelperTests.cs (7)
84
var
value = new TodoChild()
104
var
body = JsonSerializer.Deserialize<
TodoChild
>(responseBodyStream.ToArray(), serializerOptions);
118
var
value = new TodoChild()
138
var
body = JsonSerializer.Deserialize<
TodoChild
>(responseBodyStream.ToArray(), serializerOptions);
250
[JsonSerializable(typeof(
TodoChild
))]
TestJsonContext.GetJsonTypeInfo.g.cs (1)
40
if (type == typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
))
TestJsonContext.TodoChild.g.cs (16)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
>? _TodoChild;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
> TodoChild
24
get => _TodoChild ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
> Create_TodoChild(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
>
37
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
).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.Http.HttpResults.HttpResultsHelperTests.
TodoChild
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
),
60
Getter = static obj => ((global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
)obj).Child,
61
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
)obj).Child = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
).GetProperty("Child", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
138
private void TodoChildSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
? value)
148
writer.WriteString(PropName_Child, ((global::Microsoft.AspNetCore.Http.HttpResults.HttpResultsHelperTests.
TodoChild
)value).Child);