Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gustav-dahl opened this issue Oct 9, 2020 · 1 comment
Open

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

gustav-dahl opened this issue Oct 9, 2020 · 1 comment

Comments

@gustav-dahl
Copy link

gustav-dahl commented Oct 9, 2020

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;
@gustav-dahl
Copy link
Author

Some info:

JetBrains ReSharper 2020.2.4 Build 202.0.20200925.65451 built on 2020-09-25
ReSharper 2020.2.20200928.101135
StyleCop by JetBrains 2020.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant