2 instantiations of FileChange
dotnet-format (2)
Analyzers\AnalyzerFormatter.cs (1)
191formattedFiles.Add(new FormattedFile(document, new[] { new FileChange(diagnosticPosition, diagnostic.Id, $"{diagnostic.Severity.ToString().ToLower()} {diagnostic.Id}: {diagnostic.GetMessage()}") }));
Formatters\DocumentFormatter.cs (1)
173var fileChange = new FileChange(changePosition, Name, $"{FormatWarningDescription}{changeMessage}");
6 references to FileChange
dotnet-format (6)
FormattedFile.cs (2)
13public IEnumerable<FileChange> FileChanges { get; } 15public FormattedFile(Document document, IEnumerable<FileChange> fileChanges)
Formatters\DocumentFormatter.cs (3)
158private ImmutableArray<FileChange> GetFileChanges(FormatOptions formatOptions, Document document, SourceText originalText, SourceText formattedText, bool changesAreErrors, ILogger logger) 160var fileChanges = ImmutableArray.CreateBuilder<FileChange>(); 173var fileChange = new FileChange(changePosition, Name, $"{FormatWarningDescription}{changeMessage}");
Logging\ILoggerExtensions.cs (1)
15public static string LogFormattingIssue(this ILogger logger, Document document, string formatterName, FileChange fileChange, bool changesAreErrors)