Skip to content

Conversation

@AlekseyTs
Copy link
Contributor

Fixes #81784

@AlekseyTs AlekseyTs requested a review from a team as a code owner December 23, 2025 23:07
@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review

[Theory]
[WorkItem("https://github.com/dotnet/roslyn/issues/81784")]
[CombinatorialData]
public void GotoCase(
Copy link
Member

@333fred 333fred Dec 24, 2025

Choose a reason for hiding this comment

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

Consider testing that IntPtr and nint are treated equivalently; I'm thinking in particular, it would be good to test using IntPtr on line 3557 when line 3552 is nint, and vice versa. And it would also be interesting to test that across C# 10 and 11, since 11 changed the definition of nint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug with goto case (n{u}int)myconstant when a prior case myconstant: exists before it

2 participants