Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

problem with #endregion #29

@LokiMidgard

Description

@LokiMidgard

If I add Methods to an class using this generator, and at the end of the class is an #endregion, this #endregion is also inserted in the generated code. This leads to an compiling error because #region is missing.

partial class Test {
    private bool test;
#region testRegion
[Generate]
void SomeMethod(){}
#endregion
}

Assuming the Generator does nothing this results in following:

partial class Test {
   
#endregion
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions