Closed View12138 closed 1 year ago
I have a internal class, bug I can't generte the public constructor.
// my code [RequiredArgsConstructor] internal partial class MyClass { private readonly int myPropety; }
// the generated code internal partial class MyClass { internal MyClass(int newMyPropety) { myPropety = newMyPropety; } }
This is my solution
// my code [RequiredArgsConstructor(ModifierType = ModifierType.Public)] internal partial class MyClass { private readonly int myPropety; }
// the generated code internal partial class MyClass { public MyClass(int newMyPropety) { myPropety = newMyPropety; } }
Fixed in version 2.1.2.
I have a internal class, bug I can't generte the public constructor.
This is my solution