1 instantiation of DiagnosticLocation
Microsoft.AspNetCore.Analyzer.Testing (1)
TestSource.cs (1)
39var markerLocation = new DiagnosticLocation(i + 1, markerStartIndex + 1);
13 references to DiagnosticLocation
Microsoft.AspNetCore.Analyzer.Testing (5)
Assert.cs (1)
11public static void DiagnosticLocation(DiagnosticLocation expected, Location actual)
TestSource.cs (4)
14public IDictionary<string, DiagnosticLocation> MarkerLocations { get; } 15= new Dictionary<string, DiagnosticLocation>(StringComparer.Ordinal); 17public DiagnosticLocation DefaultMarkerLocation { get; private set; } 39var markerLocation = new DiagnosticLocation(i + 1, markerStartIndex + 1);
Mvc.Api.Analyzers.Test (8)
ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest.cs (2)
53var expectedLocation = testSource.DefaultMarkerLocation; 67var expectedLocation = testSource.DefaultMarkerLocation;
ApiConventionAnalyzerIntegrationTest.cs (6)
72var expectedLocation = testSource.DefaultMarkerLocation; 133var expectedLocation = testSource.DefaultMarkerLocation; 165var expectedLocation = testSource.DefaultMarkerLocation; 199var expectedLocation = testSource.DefaultMarkerLocation; 264var expectedLocation = testSource.DefaultMarkerLocation; 283var expectedLocation = testSource.DefaultMarkerLocation;