1 write to MemberName
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ModelValidationResult.cs (1)
18
MemberName
= memberName ?? string.Empty;
7 references to MemberName
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Validation\ValidationVisitor.cs (1)
233
var key = ModelNames.CreatePropertyModelName(Key, result.
MemberName
);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (6)
DataAnnotationsModelValidatorTest.cs (3)
179
Assert.Empty(validationResult.
MemberName
);
234
Assert.Empty(validationResult.
MemberName
);
391
Assert.Empty(validationResult.
MemberName
);
ModelValidationResultComparer.cs (3)
23
return string.Equals(x.
MemberName
, y.
MemberName
, StringComparison.Ordinal) &&
31
return obj.
MemberName
.GetHashCode();