TypeName | AttributeConstructorMustNotUseUnnecessaryParenthesis |
CheckId | SA1411 |
Category | Maintainability Rules |
Cause
TODO.
Rule Description
TODO
A violation of this rule occurs when unneccsary parenthesis have been used in an attribute constructor. For example:
[Serializable()]
The parenthesis are unnecessary and should be removed:
[Serializable]
How to Fix Violations
Remove the unnecessary parenthesis.