3 instantiations of Person
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
Validation\ValidatableParameterInfoTests.cs (3)
155var person = new Person(); // Name is null, so should fail validation 197new() { Name = "Valid" }, 198new() // Name is null, should fail
10 references to Person
Microsoft.AspNetCore.Http.Abstractions.Tests (10)
Validation\ValidatableParameterInfoTests.cs (10)
133typeof(Person), 136typeof(Person), 144parameterType: typeof(Person), 151{ typeof(Person), personTypeInfo } 155var person = new Person(); // Name is null, so should fail validation 173typeof(Person), 176typeof(Person), 184parameterType: typeof(IEnumerable<Person>), 191{ typeof(Person), personTypeInfo } 195var people = new List<Person>