pgenfer/mixinSharp

Don't generate forwarding for private or protected methods

Closed this issue · 0 comments

Delegation could for mixin methods should only be generated if the mixin method can be called from within the child class, so check the following cases before generation:

  • Mixin's method is private or protected
  • Mixin's method is internal => check if it is accessible through the child class