2 instantiations of FileChange
dotnet-format (2)
Analyzers\AnalyzerFormatter.cs (1)
192
formattedFiles.Add(new FormattedFile(document, new[] { new
FileChange
(diagnosticPosition, diagnostic.Id, $"{diagnostic.Severity.ToString().ToLower()} {diagnostic.Id}: {diagnostic.GetMessage()}") }));
Formatters\FormatterUtilities.cs (1)
54
var fileChange = new
FileChange
(changePosition, formatterName, $"{formatWarningDescription}{changeMessage}");
6 references to FileChange
dotnet-format (6)
FormattedFile.cs (2)
14
public IEnumerable<
FileChange
> FileChanges { get; }
16
public FormattedFile(TextDocument document, IEnumerable<
FileChange
> fileChanges)
Formatters\FormatterUtilities.cs (3)
32
public static ImmutableArray<
FileChange
> GetFileChanges(
41
var fileChanges = ImmutableArray.CreateBuilder<
FileChange
>();
54
var
fileChange = new FileChange(changePosition, formatterName, $"{formatWarningDescription}{changeMessage}");
Logging\ILoggerExtensions.cs (1)
16
public static string LogFormattingIssue(this ILogger logger, TextDocument document, string formatterName,
FileChange
fileChange, bool changesAreErrors)