RL0720 - Ensures all attribute statements have the proper layout

Attribute statements must be layed out to appear on one single line.

NOTE: future versions of this rule will allow the selection of either single or multiple line layouts.

Accepted

[DefaultValue("Header Title")]

Rejected

[
DefaultValue("Header Title")
]

[DefaultValue("Header Title")
]

Exceptions

  • Tabs characters appearing within the Visual Studio designer source generated areas will be ignored.