Skip to content

Fix crash in convert-if-to-switch#81724

Merged
CyrusNajmabadi merged 2 commits intodotnet:mainfrom
CyrusNajmabadi:convertIfCrash
Dec 16, 2025
Merged

Fix crash in convert-if-to-switch#81724
CyrusNajmabadi merged 2 commits intodotnet:mainfrom
CyrusNajmabadi:convertIfCrash

Conversation

@CyrusNajmabadi
Copy link
Contributor

Fixes #81714

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner December 16, 2025 20:54
}.RunAsync();

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/81052")]
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/81714")]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/81714")]
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/81052")]

}.RunAsync();

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/81052")]
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/81714")]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/81714")]
[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/81052")]

@CyrusNajmabadi CyrusNajmabadi merged commit 012d1e6 into dotnet:main Dec 16, 2025
25 of 26 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the convertIfCrash branch December 16, 2025 22:10
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Dec 16, 2025
@davidwengier davidwengier modified the milestones: Next, 18.3 Jan 6, 2026
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.

CSharpConvertIfToSwitchCodeRefactoringProvider crashes for if statement using nullable bool

3 participants