提交 b942e6e2 编写于 作者: S Sam Harwell

Add missing accessibility modifiers

上级 48d88cd0
......@@ -21,7 +21,7 @@ namespace Microsoft.CodeAnalysis.Tools.CodeFormatter
{
internal static class CodeFormatter
{
const int MaxLoggedWorkspaceWarnings = 5;
private const int MaxLoggedWorkspaceWarnings = 5;
public static async Task<int> FormatWorkspaceAsync(ILogger logger, string solutionOrProjectPath, bool isSolution, bool logAllWorkspaceWarnings, CancellationToken cancellationToken)
{
......
......@@ -14,11 +14,11 @@
namespace Microsoft.CodeAnalysis.Tools.CodeFormatter
{
class Program
internal class Program
{
static readonly string[] _verbosityLevels = new[] { "q", "quiet", "m", "minimal", "n", "normal", "d", "detailed", "diag", "diagnostic" };
private static readonly string[] _verbosityLevels = new[] { "q", "quiet", "m", "minimal", "n", "normal", "d", "detailed", "diag", "diagnostic" };
static async Task<int> Main(string[] args)
private static async Task<int> Main(string[] args)
{
var parser = new CommandLineBuilder(new Command("dotnet-format", handler: CommandHandler.Create(typeof(Program).GetMethod(nameof(Run)))))
.UseParseDirective()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册