Skip to content
This repository was archived by the owner on Aug 18, 2026. It is now read-only.
This repository was archived by the owner on Aug 18, 2026. It is now read-only.

"Fix StyleCop violations" removes "using static" #38

Description

@gustav-dahl

When i run Cleanup Code with Fix StyleCop violations enabled all using static directives are converted into normal using directives, resulting in compile errors.

namespace MyNamespace
{
   using static ClassWithStaticMethods;

becomes

namespace MyNamespace
{
   using ClassWithStaticMethods;

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions