Reports the attribute if:
- the first parameter of the attribute
[Array]
is not1
. - Reports if there are multiple
[ArrayDimension]
attributes at the same struct. - Reports if the first parameter of the attribute
[ArrayDimension]
is not0
.
You can also use the provided automatic Code Fix to set the first parameter of the attribute [Array]
to 1
, the first parameter of the attribute [ArrayDimension]
to 0
and removes duplicated [ArrayDimension]
attributes. ( Press Alt + Enter on the Error line to find the Code Fix in the context menu)
Set the first parameter of the attribute [Array]
to 1
, the first parameter of the attribute [ArrayDimension]
to 0
and removes duplicated [ArrayDimension]
attributes.