Send comments on this topic. |
|
Glossary Item Box
Cause
Rule Description
To comply with this rule, adjacent elements of the same type must be positioned in the following order by access level:
public
internal
protected internal
protected
private
Complying with a standard ordering scheme based on access level can increase the readability and maintainability of the file and make it easier to identify the public interface that is being exposed from a class.
To fix an instance of this violation, order the elements in the file in the order described above.
© Microsoft Corporation. All Rights Reserved.