Skip to content

RCS1018 is not "aware" of the "file" access modifier. #1509

Closed

Description

@amkoval

Product and Version Used:

"Roslynator 2022" Visual Studio extension.

Steps to Reproduce:

Create a class with the "file" access modifier:

file static class SomeFileScoppedClass
{
}

Actual Behavior:

RCS1018 is highlighted. The "quick fix" is trying to add the "intermediate" access modifier in front of the "file":

intermediate file static class SomeFileScoppedClass
{
}

Expected Behavior:
RCS1018 should not be triggered when the "file" access modifier is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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