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