Loading

csharp_using_directive_placement

Move using directives inside or outside the namespace. IDE0065.

Value Notes
inside_namespace
outside_namespace

Default: (as written)

csharp_using_directive_placement = inside_namespace
		
using System;
using System.Collections.Generic;

namespace N
{
    public class Widget { }
}
		
namespace N
{
    using System;
    using System.Collections.Generic;

    public class Widget { }
}
		
csharp_using_directive_placement = outside_namespace
		
using System;
using System.Collections.Generic;

namespace N
{
    public class Widget { }
}
		
using System;
using System.Collections.Generic;

namespace N
{
    public class Widget { }
}