Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 14, 2024

Closes #70748

This was relatively straight forward as it simply involved to wrap the expression in its checked statement if it existed. I added some tests to validate this.

@ghost ghost self-requested a review as a code owner February 14, 2024 16:03
@ghost ghost added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead Community The pull request was submitted by a contributor who is not a Microsoft employee. labels Feb 14, 2024
@CyrusNajmabadi
Copy link
Member

Thanks!

@CyrusNajmabadi CyrusNajmabadi merged commit c7c1ce2 into dotnet:main Feb 14, 2024
@ghost ghost added this to the Next milestone Feb 14, 2024
@jjonescz jjonescz modified the milestones: Next, 17.10 P2 Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When I convert an "if" statement containing a checked expression into a conditional expression in the c# editor, it is converted to unintended code.

3 participants