Skip to content

Added the ability to to set the LanguageVersion and the GlobalOptions in the VB and C# source generator test classes.#1240

Open
AraHaan wants to merge 5 commits intodotnet:mainfrom
AraHaan:add-languageversion-and-globaloptions-to-sourcegenerator-test-classes
Open

Added the ability to to set the LanguageVersion and the GlobalOptions in the VB and C# source generator test classes.#1240
AraHaan wants to merge 5 commits intodotnet:mainfrom
AraHaan:add-languageversion-and-globaloptions-to-sourcegenerator-test-classes

Conversation

@AraHaan
Copy link
Copy Markdown
Member

@AraHaan AraHaan commented Dec 21, 2025

Fixes #1239.

… in the VB and C# source generator test classes.

Fixes dotnet#1239.
@AraHaan AraHaan requested a review from a team as a code owner December 21, 2025 21:20
@AraHaan
Copy link
Copy Markdown
Member Author

AraHaan commented Mar 30, 2026

cc: @sharwell

Sorry for the ping, but know if it is possible to take this change as I do want this feature to simplify all the manual setup I do to test my own incremental source generator?

Copy link
Copy Markdown
Member Author

@AraHaan AraHaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An my best guess on names for the tuple items in the GlobalOptions list on the C# side.

Note: I chose val for value on the tuple item name because I don't like @value syntax to bypass the keyword value here just to use it as the tuple name.

Co-authored-by: AraHaan <seandhunt_7@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the ability to set the LanguageVersion and the GlobalOptions in the VB and C# source generator test classes.

1 participant