Skip to content

Fix 'use var' with forr/for snippets#81464

Merged
CyrusNajmabadi merged 1 commit intodotnet:mainfrom
CyrusNajmabadi:forrSnippet
Nov 27, 2025
Merged

Fix 'use var' with forr/for snippets#81464
CyrusNajmabadi merged 1 commit intodotnet:mainfrom
CyrusNajmabadi:forrSnippet

Conversation

@CyrusNajmabadi
Copy link
Contributor

Fixes #71570

@CyrusNajmabadi
Copy link
Contributor Author

@davidwengier ptal.


protected override ForStatementSyntax GenerateStatement(SyntaxGenerator generator, SyntaxContext syntaxContext, InlineExpressionInfo? inlineExpressionInfo)
protected override ForStatementSyntax GenerateStatement(
SyntaxGenerator generator, SyntaxContext syntaxContext, SimplifierOptions simplifierOptions, InlineExpressionInfo? inlineExpressionInfo)
Copy link
Member

Choose a reason for hiding this comment

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

Nit: indent one level

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will fixup in followup.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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.

Semantic snippets don't fallback to VS options properly

2 participants