Skip to content

fix: handle semicolon-bodied types when adding methods#942

Merged
SteveDunn merged 1 commit into
mainfrom
fix/fixers-and-bodyless-types
May 11, 2026
Merged

fix: handle semicolon-bodied types when adding methods#942
SteveDunn merged 1 commit into
mainfrom
fix/fixers-and-bodyless-types

Conversation

@SteveDunn

Copy link
Copy Markdown
Owner
  • Add regression test for semicolon-bodied types.
  • Adjust AddMethodCodeFixProvider to convert semicolon-bodied types to braces before adding members.

Fixes #742

- Add regression test for semicolon-bodied types.
- Adjust `AddMethodCodeFixProvider` to convert semicolon-bodied types to braces before adding members.

Fixes #742
@SteveDunn
SteveDunn merged commit 8fe135a into main May 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Validation Method code fix doesn't account for body-less declarations

1 participant