Closed BlackPhlox closed 2 weeks ago
In this example, it seems like it should just be protected
.
Is that not good enough?
Huh, I don't know why I didn't think of that. In that case, I can't think of a use case currently where the ignore attribute would be useful, other than the class having methods that may only be called programmatically or during reflection.
OK, I'll close this PR. If you have solved the problem, good.
Allows for classes that have commands to inherit from an abstract class with abstract and or virtual methods, as private methods cannot be abstract or virtual, see CS0621
When dogfooding for creating a CLI, I needed this and I couldn't think of another way to do this without the compiler complaining.
See the new test and its comment for a visual explanation.