Skip to content

SA1402 does not take topLevelType setting into account for records #3672

Open
@appel1

Description

@appel1

1.2.0-beta.507

In our stylecop json we have:

"maintainabilityRules": {
   "topLevelTypes": [ "class" ]
}

But still it warns about files containing more than one record. It's fine if the default for topLevelTypes has changed to include records but not being able to configure it at all is inconvenient.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions