Send comments on this topic. |
|
Glossary Item Box
Cause
Rule Description
The following C# keywords must always be followed by a single space: catch, fixed, for, foreach, from, group, if, in, into, join, let, lock, orderby, return, select, stackalloc, switch, throw, using, where, while, yield.
The following keywords must not be followed by any space: checked, default, sizeof, typeof, unchecked.
The new keyword should always be followed by a space, unless it is used to create a new array, in which case there should be no space between the new keyword and the opening array bracket.
How to Fix Violations
© Microsoft Corporation. All Rights Reserved.