Include member name when constructing ValidationResult in CompareAttribute (#38867)
authorPranav K <prkrishn@hotmail.com>
Fri, 10 Jul 2020 03:40:15 +0000 (20:40 -0700)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2020 03:40:15 +0000 (20:40 -0700)
commit1f467479e5b9eb7eede6064174832b95c3fa3165
tree75b878c1fa33dd87f9beb3a2e049ba00ee82f521
parenta6f7b83c323adcde55663e2c7dedffc39514a527
Include member name when constructing ValidationResult in CompareAttribute (#38867)

Fixes https://github.com/dotnet/runtime/issues/29214
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/CompareAttribute.cs
src/libraries/System.ComponentModel.Annotations/tests/System/ComponentModel/DataAnnotations/CompareAttributeTests.cs