1 write to Path
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Helpers\DiagnosticResult.cs (1)
27this.Path = path;
4 references to Path
Microsoft.AspNetCore.Components.Analyzers.Tests (4)
Helpers\DiagnosticResult.cs (1)
71return this.Locations.Length > 0 ? this.Locations[0].Path : "";
Verifiers\DiagnosticVerifier.cs (3)
194Assert.True(actualSpan.Path == expected.Path || (actualSpan.Path != null && actualSpan.Path.Contains("Test0.") && expected.Path.Contains("Test.")), 198expected.Path, actualSpan.Path, FormatDiagnostics(analyzer, diagnostic)));