RL0600 - Ensures regions have proper comment style

When region markers are used with source code, they must appear with the proper comment style

Accepted

#region // --- a comment ---
    some code
#endregion

Rejected

#region a comment
    some code
#endregion

Exceptions

  • the region marker used by the Visual Studio designer

#region Windows Form Designer generated code
    some code
#endregion