1 instantiation of JsonTodoChild
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateFactoryTests.cs (1)
1301JsonTodoChild originalTodo = new()
10 references to JsonTodoChild
Microsoft.AspNetCore.Http.Extensions.Tests (10)
RequestDelegateFactoryTests.cs (6)
1301JsonTodoChild originalTodo = new() 1354var deserializedResponseBody = JsonSerializer.Deserialize<JsonTodoChild>(responseBodyStream.ToArray(), new JsonSerializerOptions 1391Assert.Equal(nameof(JsonTodoChild), deserializedResponseBody["$type"]!.GetValue<string>()); 3539[JsonDerivedType(typeof(JsonTodoChild), nameof(JsonTodoChild))]
RequestDelegateGenerator\RequestDelegateCreationTests.Responses.cs (2)
653await VerifyResponseJsonBodyAsync<JsonTodoChild>(httpContext, (todo) => 680Assert.Equal(nameof(JsonTodoChild), node["$type"]!.GetValue<string>());
RequestDelegateGenerator\SharedTypes.cs (2)
86[JsonDerivedType(typeof(JsonTodoChild), nameof(JsonTodoChild))]