Optimize Using when using inside namespace

If I try to execute Optimize Using for the following code


Resharper moves using statements to the outside of the namespace statement, but it isn't the desired behaviour. I can't found the option in the Resharper Options to change this behaviour.
What can you suggest me?

0
2 comments
Avatar
Permanently deleted user

ReSharper->Options->Code Style ->C#->Using Directives->Add using directive
to the deepest scope

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Vladimir Dumchikov" <no_mail@jetbrains.com> wrote in message
news:27606415.1125053069533.JavaMail.javamailuser@localhost...

If I try to execute Optimize Using for the following code

 namespace MyNamespace
> {
>     using System;
>     using System.Data;
> }
> ]]>

>

Resharper moves using statements to the outside of the namespace
statement, but it isn't the desired behaviour. I can't found the option in
the Resharper Options to change this behaviour.
What can you suggest me?



0
Avatar
Permanently deleted user

Thanks a lot

0

Please sign in to leave a comment.