54 references to JsonDerivedType
FormatterWebSite (1)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Http.Results.Tests (1)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.OpenApi.Tests (11)
Shared\SharedTypes.Polymorphism.cs (11)
7[JsonDerivedType(typeof(Triangle), typeDiscriminator: "triangle")]
8[JsonDerivedType(typeof(Square), typeDiscriminator: "square")]
48[JsonDerivedType(typeof(Student), typeDiscriminator: "student")]
49[JsonDerivedType(typeof(Teacher), typeDiscriminator: "teacher")]
66[JsonDerivedType(typeof(PaintColor), typeDiscriminator: "paint")]
67[JsonDerivedType(typeof(FabricColor), typeDiscriminator: "fabric")]
85[JsonDerivedType(typeof(Cat), typeDiscriminator: "cat")]
86[JsonDerivedType(typeof(Dog), typeDiscriminator: "dog")]
87[JsonDerivedType(typeof(Pet), typeDiscriminator: "pet")]
123[JsonDerivedType(typeof(Manager), typeDiscriminator: "manager")]
124[JsonDerivedType(typeof(Employee), typeDiscriminator: "employee")]
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Microsoft.Extensions.AI.Abstractions (15)
Microsoft.Extensions.AI.Abstractions.Tests (3)
Sample (11)
src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Shared\SharedTypes.Polymorphism.cs (11)
7[JsonDerivedType(typeof(Triangle), typeDiscriminator: "triangle")]
8[JsonDerivedType(typeof(Square), typeDiscriminator: "square")]
48[JsonDerivedType(typeof(Student), typeDiscriminator: "student")]
49[JsonDerivedType(typeof(Teacher), typeDiscriminator: "teacher")]
66[JsonDerivedType(typeof(PaintColor), typeDiscriminator: "paint")]
67[JsonDerivedType(typeof(FabricColor), typeDiscriminator: "fabric")]
85[JsonDerivedType(typeof(Cat), typeDiscriminator: "cat")]
86[JsonDerivedType(typeof(Dog), typeDiscriminator: "dog")]
87[JsonDerivedType(typeof(Pet), typeDiscriminator: "pet")]
123[JsonDerivedType(typeof(Manager), typeDiscriminator: "manager")]
124[JsonDerivedType(typeof(Employee), typeDiscriminator: "employee")]
Shared.Tests (3)