How to modify/disable preprocessor directive reformatting

Hi,

Resharper reformats this

'#if ASPNETWEBAPI
namespace RouteLocalization.Http
#else
namespace RouteLocalization.Mvc
#endif
{
#if ASPNETWEBAPI
    using System.Web.Http.Routing;
#else
    using System.Web.Mvc.Routing;
#endif'


into this

'

#if ASPNETWEBAPI

namespace RouteLocalization.Http
#else
namespace RouteLocalization.Mvc
#endif
{
#if ASPNETWEBAPI
    using System.Web.Http.Routing;

#else
    using System.Web.Mvc.Routing;
#endif'


Is there a possiblity to modify / prevent this behaviour?
1 comment
Comment actions Permalink

Please adjust ReSharper | Options | Code Editing | C# | Formatting Style | Blank Lines |

  • Around namespaces | 0;
  • After "using" list | 0;
0

Please sign in to leave a comment.