CA1504: Review misleading field names
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
For the latest documentation on Visual Studio 2017, see CA1504: Review misleading field names on docs.microsoft.com.
The name of an instance field starts with "s_" or the name of a
Shared in Visual Basic) field starts with "m_".
Field names that start with "s_" are associated with static data by many users. Similarly, field names that start with "m_" are associated with instance (member) data. For more easily maintained code, names should follow generally used conventions.
To fix a violation of this rule, rename the field by using the appropriate prefix. Alternatively, make the field agree with the current suffix by adding or removing the
Do not suppress a warning from this rule.