You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SA1202 is telling me that public members should appear before private ones, which is usually a good idea, except when the members depend on the order of declaration. Changing the order would break the code.
The text was updated successfully, but these errors were encountered:
I'm not sure how to handle this case in general. It seems like we need to build a partial order based on dependencies, and then add links to the partial order graph based on preferred ordering rules while omitting links that would produce a cycle. We have several other issues related to this but no great solutions so far.
Take the following code:
SA1202
is telling me that public members should appear before private ones, which is usually a good idea, except when the members depend on the order of declaration. Changing the order would break the code.The text was updated successfully, but these errors were encountered: