Original code:
C#namespace CodeRushCodeCleanupIssue
{
class Program
{
/// <summary>
/// Hello
/// </summary>
/// <param name="args"></param>
static void Main( string[] args )
{
}
}
}
Result after clean up:
C#namespace CodeRushCodeCleanupIssue
{
internal class Program
{
/// <summary>
/// Hello
/// </summary>
/// <param name="args"></param>
private
/// <summary>
/// Hello
/// </summary>
/// <param name="args"></param>
static void Main( string[] args )
{
}
}
}
I have Editor → Code Style → Programming Style → Members visibility modifiers → Use explicit modifiers
and
Editor → Code CleanUp → Apply visibility style
checked in my settings
Thank you for pointing out this issue to us. I have reproduced it and forwarded this ticket to our developers. They will do their best to fix this problem.