remove unnecessary bound check (#42431)
authorJackson Miller <jacksonmiller7855@gmail.com>
Thu, 29 Oct 2020 21:11:04 +0000 (17:11 -0400)
committerGitHub <noreply@github.com>
Thu, 29 Oct 2020 21:11:04 +0000 (14:11 -0700)
commit75604bc368b67b0388ebcd422781a196036c05c1
treef3dd64b7ead2860e1c1c37ef39a5f1e375057ef2
parent47e50116e68af9c08552deeb161dbd2d55aa2820
remove unnecessary bound check (#42431)

now that all primitive types are supported (thanks to #29000), we can
remove custom bound checks.
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Value/EnumConverter.cs