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
Copy file name to clipboardExpand all lines: documentation/SA1307.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The name of a public or internal field in C# does not begin with an upper-case l
21
21
22
22
## Rule description
23
23
24
-
A violation of this rule occurs when the name of a public or internal field begins with a lower-case letter. Public or internal fields should being with an upper-case letter.
24
+
A violation of this rule occurs when the name of a public or internal field begins with a lower-case letter. Public or internal fields should begin with an upper-case letter.
25
25
26
26
If the field or variable name is intended to match the name of an item associated with Win32 or COM, and thus needs to start with a lower-case letter, place the field or variable within a special *NativeMethods* class. A NativeMethods class is any class which contains a name ending in NativeMethods, and is intended as a placeholder for Win32 or COM wrappers. StyleCop will ignore this violation if the item is placed within a NativeMethods class.
0 commit comments