There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
SA1202 Ordering by visibility
SA1202 violation is raised when protected members come before internal members, and the documentation for SA1202 agrees with this ordering.
I believe this to be a bug, though, because protected is visible outside the declaring assembly by default (for non-sealed types), while internal is not. Protected is documented by Sandcastle for use by inheritors, while internal is usually not.
In order of decreasing visibility, the order should be public, protected, protected-internal, internal, private.
Is there an easy way to enforce that order without completely disabling this rule? I would still like to check for correct member ordering, but in order of decreasing visibility.