Remove some Linq usages in ComponentModel.Annotations (#56753)
authorEric Erhardt <eric.erhardt@microsoft.com>
Thu, 5 Aug 2021 03:40:07 +0000 (22:40 -0500)
committerGitHub <noreply@github.com>
Thu, 5 Aug 2021 03:40:07 +0000 (03:40 +0000)
commit5bef921d41e1dc6832c61d2d6e7cae13dc35a2db
treef2cf62af5a680f0f685321b87477da8a7a55464a
parent9dc2059c32a10bbe9893fc3dead757877d82822e
Remove some Linq usages in ComponentModel.Annotations (#56753)

* Remove some Linq usages in ComponentModel.Annotations

Contributes to #56631

* PR feedback

* fixup
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/CompareAttribute.cs
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/EnumDataTypeAttribute.cs
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/MetadataPropertyDescriptorWrapper.cs
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/ValidationAttributeStore.cs
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/Validator.cs