Skip to content

Review handling of global usings in SA1402 #17

@bjornhellander

Description

@bjornhellander

The new behavior after #8 was not as I expected it: It still allows global usings together with types in the global namespace. Good enough for now, but should probably be improved.

Would it be a better idea to have SA1402 allow global usings outside of a namespace and add anoher rule to make sure global usings are organized in a maintainable way, e.g. that files containing global usings should only contain that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions