Make JsonSerializer work when IsDynamicCodeSupported is false. (#54027)
authorEric Erhardt <eric.erhardt@microsoft.com>
Mon, 14 Jun 2021 15:03:41 +0000 (10:03 -0500)
committerGitHub <noreply@github.com>
Mon, 14 Jun 2021 15:03:41 +0000 (10:03 -0500)
commit49fa010d4db7c49df8f5b6f6adf913518225fdeb
tree347964ee0ad0a6f0044d9ae65d79999f04c546b4
parent469db3d73dbd2722c004d94d570c8f49cb751d38
Make JsonSerializer work when IsDynamicCodeSupported is false. (#54027)

Use the non-Emit codepath if IsDynamicCodeSupported is false.
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializerOptions.cs