27 references to FixCategory
dotnet-format (27)
Analyzers\AnalyzerFormatter.cs (4)
17
FixCategory
.CodeStyle,
25
FixCategory
.Analyzers,
37
public
FixCategory
Category { get; }
41
FixCategory
category,
CodeFormatter.cs (2)
41
: await OpenMSBuildWorkspaceAsync(formatOptions.WorkspaceFilePath, formatOptions.WorkspaceType, formatOptions.NoRestore, formatOptions.FixCategory !=
FixCategory
.Whitespace, formatOptions.BinaryLogPath, logWorkspaceWarnings, logger, formatOptions.TargetFramework, cancellationToken);
262
if (formatOptions.FixCategory.HasFlag(
FixCategory
.Whitespace))
Commands\FormatAnalyzersCommand.cs (1)
56
formatOptions = formatOptions with { FixCategory =
FixCategory
.Analyzers };
Commands\FormatStyleCommand.cs (1)
56
formatOptions = formatOptions with { FixCategory =
FixCategory
.CodeStyle };
Commands\FormatWhitespaceCommand.cs (1)
69
formatOptions = formatOptions with { FixCategory =
FixCategory
.Whitespace };
Commands\RootFormatCommand.cs (3)
60
formatOptions = formatOptions with { FixCategory =
FixCategory
.Whitespace |
FixCategory
.CodeStyle |
FixCategory
.Analyzers };
FormatOptions.cs (1)
15
FixCategory
FixCategory,
Formatters\CharsetFormatter.cs (2)
19
public override
FixCategory
Category =>
FixCategory
.Whitespace;
Formatters\DocumentFormatter.cs (1)
26
public abstract
FixCategory
Category { get; }
Formatters\EndOfLineFormatter.cs (2)
16
public override
FixCategory
Category =>
FixCategory
.Whitespace;
Formatters\FinalNewlineFormatter.cs (2)
15
public override
FixCategory
Category =>
FixCategory
.Whitespace;
Formatters\ICodeFormatter.cs (1)
14
FixCategory
Category { get; }
Formatters\OrganizeImportsFormatter.cs (2)
20
public override
FixCategory
Category =>
FixCategory
.CodeStyle;
Formatters\RazorDocumentFormatter.cs (2)
14
public
FixCategory
Category =>
FixCategory
.Whitespace;
Formatters\WhitespaceFormatter.cs (2)
20
public override
FixCategory
Category =>
FixCategory
.Whitespace;