-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add module initializers tests #45969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add module initializers tests #45969
Conversation
|
@dotnet/roslyn-compiler Could I please get a review of this test-only change? |
| [ModuleInitializer] // 4 | ||
| static partial void M4(); | ||
| [ModuleInitializer] // 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[ModuleInitializer] // 5 [](start = 4, length = 24)
Do we have a test for a scenario when the second application is allowed?
| { | ||
| [ModuleInitializer] | ||
| public static partial void M1(); | ||
| [ModuleInitializer] // 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[ModuleInitializer] // 1 [](start = 4, length = 24)
Do we have a test for a scenario when the second application is allowed?
AlekseyTs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (iteration 1), with suggested tests, which can be added in a separate PR
|
Thanks, will open a new PR to add the additional tests. |
Filling out test plan #40500