Send comments on this topic. |
|
Glossary Item Box
Cause
Rule Description
A violation of this rule occurs when a const field is placed beneath a non-const field. Constants must be placed above fields to indicate that the two are fundamentally different types of elements with different considerations for the compiler, different naming requirements, etc.
To fix an instance of this violation, place all consts above all fields.
© Microsoft Corporation. All Rights Reserved.