Make the soure generator format enums using their identifiers rather than numeric...
authorEirik Tsarpalis <eirik.tsarpalis@gmail.com>
Thu, 15 Jun 2023 12:32:19 +0000 (13:32 +0100)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2023 12:32:19 +0000 (13:32 +0100)
commita2f4a94e3f3bbbebfea5136dbe8039aba824b1df
tree607c10006d52a586aae0a4f0789e0251e351c8b2
parent87aa3e983ef4d3832c90c1a3f540908d29e6dba6
Make the soure generator format enums using their identifiers rather than numeric values. (#87557)

* Make the soure generator format enums using their identifiers rather than numeric values.

* Address feedback
src/libraries/System.Text.Json/gen/Helpers/SourceGeneratorHelpers.cs [new file with mode: 0644]
src/libraries/System.Text.Json/gen/JsonSourceGenerator.Emitter.cs
src/libraries/System.Text.Json/gen/System.Text.Json.SourceGeneration.targets