Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Code fix Convert to regular constructor generates incorrectly for class without body #72340

Closed
just-ero opened this issue Feb 29, 2024 · 0 comments · Fixed by #76083 · May be fixed by #72475
Closed

[Bug]: Code fix Convert to regular constructor generates incorrectly for class without body #72340

just-ero opened this issue Feb 29, 2024 · 0 comments · Fixed by #76083 · May be fixed by #72475
Labels
Area-IDE Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone

Comments

@just-ero
Copy link

Version Used

  • Compiler version: 4.10.0-2.24102.11 (b14dc4d)
  • VSCode: 1.87.0, 019f4d1419fbc8219a181fab7892ebccf7ee29a2, x64
  • C# extension: v2.18.16, C# Dev Kit Extension: v1.3.10

Steps to Reproduce

  1. Open or create any C# project in Visual Studio Code.
  2. class Class1();
  3. Choose the Convert to regular constructor code fix for Class1.

Expected Behavior

class Class1
{
    public Class1()
    {
    }
}

Actual Behavior

class Class1 public Class1()
{
};
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Feb 29, 2024
@CyrusNajmabadi CyrusNajmabadi added Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Feb 29, 2024
@CyrusNajmabadi CyrusNajmabadi added this to the Backlog milestone Feb 29, 2024
@github-project-automation github-project-automation bot moved this to InQueue in Small Fixes Aug 28, 2024
@github-project-automation github-project-automation bot moved this from InQueue to Completed in Small Fixes Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug help wanted The issue is "up for grabs" - add a comment if you are interested in working on it
Projects
Status: Completed
2 participants