Send comments on this topic. |
|
Glossary Item Box
Cause
Rule Description
Within an element declaration, keywords must appear in the following order:
Access modifiers
static
All other keywords
Using a standard ordering scheme for element declaration keywords can make the code more readable by highlighting the access level of each element. This can help prevent elements from being given a higher access level than needed.
To fix an instance of this violation, order the keywords in the element’s declaration as described above.
© Microsoft Corporation. All Rights Reserved.