1 instantiation of ModelValidationResultComparer
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
ModelValidationResultComparer.cs (1)
10
public static readonly ModelValidationResultComparer Instance = new
ModelValidationResultComparer
();
5 references to ModelValidationResultComparer
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (5)
DataAnnotationsModelValidatorTest.cs (3)
40
var method = typeof(
ModelValidationResultComparer
).GetMethod(
41
nameof(
ModelValidationResultComparer
.GetHashCode),
358
Assert.Equal(expectedResults, results,
ModelValidationResultComparer
.Instance);
ModelValidationResultComparer.cs (1)
10
public static readonly
ModelValidationResultComparer
Instance = new ModelValidationResultComparer();
ValidatableObjectAdapterTest.cs (1)
168
Assert.Equal(expectedResults, results,
ModelValidationResultComparer
.Instance);