| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis |
Sorry, something went wrong.
There was a problem hiding this comment.
Once the PR review is completed and the template is filled out, please apply the Servicing-consider Issue for next servicing release review label.
Sorry, something went wrong.
|
@PranavSenthilnathan / @eiriktsarpalis -- I overlooked that this backport had been queued up against release/9.0 instead of release/9.0-staging. I just re-targeted it. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Backport of #112028 to release/9.0-staging
/cc @eiriktsarpalis @PranavSenthilnathan
Customer Impact
When deserializing a string into an enum using a naming policy, if the C# enum member name is the same as its name derived from the naming policy, then the deserialization will be case sensitive. This prevents some values from being deserialized successfully in .NET 9.0 which previously worked fine in .NET 8.0. Reported in #110745.
Regression
Introduced in #105032.
Testing
User scenario was validated manually and new unit tests have been added to cover it.
Risk
Low. This is a targeted change that fixes the handling of a corner case that got regressed in .NET 9.