3 instantiations of SimpleModel
Microsoft.AspNetCore.Http.Microbenchmarks (3)
ValidatableTypesBenchmark.cs (3)
52_simpleModel = new SimpleModel 84new SimpleModel { Id = 3, Name = "Sibling 1", Email = "sibling1@example.com" }, 85new SimpleModel { Id = 4, Name = "Sibling 2", Email = "sibling2@example.com" }
10 references to SimpleModel
Microsoft.AspNetCore.Http.Microbenchmarks (10)
ValidatableTypesBenchmark.cs (10)
24private SimpleModel _simpleModel = null!; 97validationOptions.TryGetValidatableTypeInfo(typeof(SimpleModel), out _simpleTypeInfo); 165typeof(SimpleModel), 220public List<SimpleModel> Siblings { get; set; } 272_typeInfoCache[typeof(SimpleModel)] = CreateSimpleModelTypeInfo(); 284typeof(SimpleModel), 286CreatePropertyInfo(typeof(SimpleModel), "Id", typeof(int)), 287CreatePropertyInfo(typeof(SimpleModel), "Name", typeof(string)), 288CreatePropertyInfo(typeof(SimpleModel), "Email", typeof(string), new EmailAddressAttribute()) 324CreatePropertyInfo(typeof(HierarchicalModel), "Siblings", typeof(List<SimpleModel>))