9 references to FormatDiagnostics
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (9)
Verifiers\DiagnosticVerifier.cs (9)
113string diagnosticsOutput = actualResults.Any() ? FormatDiagnostics(analyzer, actualResults.ToArray()) : " NONE."; 130FormatDiagnostics(analyzer, actual))); 145FormatDiagnostics(analyzer, actual))); 160expected.Id, actual.Id, FormatDiagnostics(analyzer, actual))); 169expected.Severity, actual.Severity, FormatDiagnostics(analyzer, actual))); 178expected.Message, actual.GetMessage(CultureInfo.InvariantCulture), FormatDiagnostics(analyzer, actual))); 198expected.Path, actualSpan.Path, FormatDiagnostics(analyzer, diagnostic))); 211expected.Line, actualLinePosition.Line + 1, FormatDiagnostics(analyzer, diagnostic))); 224expected.Column, actualLinePosition.Character + 1, FormatDiagnostics(analyzer, diagnostic)));