Skip to content
New issue

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

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

Already on GitHub? # to your account

Bugfix empty body on abstract method #31

Merged

Conversation

MichaelHochriegl
Copy link
Contributor

Fixed a bug with abstract methods body.
An abstract method can't have a body.

The new output is:

namespace CodeGenHelpers.SampleCode
{
    partial class SampleAbstractMethod
    {
         abstract void MyAbstractMethod();
    }
}

Copy link
Owner

@dansiegel dansiegel left a comment

Choose a reason for hiding this comment

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

Great catch. Thanks for the PR

@dansiegel dansiegel merged commit 08664ae into dansiegel:master Feb 6, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants