When a public method of a public type has a parameter with internal visibility, ReSharper correctly highlights the error.
Currently, the only quick fix is "Make <parameter type> public".
In addition, I would like to see:
- Make <method name> internal
- Make <containing type> internal
"QuickFixes: "Make method internal" and "Make type internal" for public methods with internal parameter types"
Of course this also pertains to protected methods too in some fashion.
This should also be checked against public/protected properties that return internal types, and public events with internal delegate types. Constructors are also methods for the sake of this evaluation.