Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit 909437e

Browse files
author
Lakshmi Priya Sekar
committed
Remove verbose flag
1 parent c52f32b commit 909437e

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

src/CodeFormatter/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ private static async Task RunAsync(string projectOrSolutionPath, IEnumerable<str
7474
{
7575
var workspace = MSBuildWorkspace.Create();
7676
var engine = FormattingEngine.Create(ruleTypes, filenames);
77-
engine.Verbose = true;
7877
if (disableCopright)
7978
{
8079
engine.CopyrightHeader = ImmutableArray<string>.Empty;

src/Microsoft.DotNet.CodeFormatting/FormattingEngineImplementation.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ internal sealed class FormattingEngineImplementation : IFormattingEngine
2626
private readonly IEnumerable<ILocalSemanticFormattingRule> _localSemanticRules;
2727
private readonly IEnumerable<IGlobalSemanticFormattingRule> _globalSemanticRules;
2828
private readonly Stopwatch _watch = new Stopwatch();
29-
private bool _verbose;
3029

3130
public ImmutableArray<string> CopyrightHeader
3231
{
@@ -40,12 +39,6 @@ public IFormatLogger FormatLogger
4039
set { _options.FormatLogger = value; }
4140
}
4241

43-
public bool Verbose
44-
{
45-
get { return _verbose; }
46-
set { _verbose = value; }
47-
}
48-
4942
[ImportingConstructor]
5043
internal FormattingEngineImplementation(
5144
Options options,

src/Microsoft.DotNet.CodeFormatting/IFormattingEngine.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ namespace Microsoft.DotNet.CodeFormatting
1313
public interface IFormattingEngine
1414
{
1515
ImmutableArray<string> CopyrightHeader { get; set; }
16-
bool Verbose { get; set; }
1716
Task FormatSolutionAsync(Solution solution, CancellationToken cancellationToken);
1817
Task FormatProjectAsync(Project porject, CancellationToken cancellationToken);
1918
}

0 commit comments

Comments
 (0)