[http-client-csharp] Render field attributes on enum members in TypeProviderWriter.WriteEnumContent#9947
Merged
jorgerangel-msft merged 4 commits intomainfrom Mar 10, 2026
Conversation
…iteEnumContent Co-authored-by: ArcturusZhang <10554446+ArcturusZhang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix enum member attribute rendering in TypeProviderWriter
[http-client-csharp] Render field attributes on enum members in TypeProviderWriter.WriteEnumContent
Mar 6, 2026
commit: |
...client-csharp/generator/Microsoft.TypeSpec.Generator/test/Writers/TypeProviderWriterTests.cs
Show resolved
Hide resolved
Contributor
jorgerangel-msft
left a comment
There was a problem hiding this comment.
The core changes look good, but there's a lot of other unrelated files that are being edited. If it wasn't intentional, can we please revert those?
...erator/Microsoft.TypeSpec.Generator/src/PostProcessing/WorkspaceMetadataReferenceResolver.cs
Outdated
Show resolved
Hide resolved
...ient-csharp/generator/Microsoft.TypeSpec.Generator/test/PostProcessing/PostProcessorTests.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: ArcturusZhang <10554446+ArcturusZhang@users.noreply.github.com>
Contributor
Author
Reverted all unrelated files in 249231b. They were unintended |
Contributor
|
No changes needing a change description found. |
jorgerangel-msft
approved these changes
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TypeProviderWriter.WriteEnumContent()dotnet formatOriginal prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.