You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Comments moved from between 'usings' and inital 'namespace' to top of file #10
Any C# comments located between the usings declarations and the initial namespace declaration are moved to the top of the file, above the usings declarations. This is true for all comment types:
// ...
/* ... */
/// <summary> ... </summary>
For example, the following source file...
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// comment
namespace ConsoleApp13
{
}
Incorrectly becomes...
// comment
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp13
{
}
This may not be desirable. If the behavior is intentional, it should be configurable for people who don't want comments moved around.
Activity