6 references to FirstName
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (6)
ValidatableObjectAdapterTest.cs (6)
69new[] { new ValidationResult("Error message", new[] { nameof(SampleModel.FirstName) }) },
70new[] { new ModelValidationResult(nameof(SampleModel.FirstName), "Error message") }
76new ValidationResult("Error message2", new[] { nameof(SampleModel.FirstName) }),
83new ModelValidationResult(nameof(SampleModel.FirstName), "Error message2"),
94nameof(SampleModel.FirstName),
101new ModelValidationResult(nameof(SampleModel.FirstName), "Error message1"),