Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
When generating abstract members, generate them as protected, not internal #42780
This is much more idiomatic as abstract methods are much more likely to be exposed as protected rather than internal.
Note: there is no need to check parameter types. in all the cases we could have exposed an internal method, we can still expose a protected method. that method may technically not be usable outside of your asseembly (due to referencing internal types), but still is idiomatic for how you would do an abstract method.