1 write to DefaultMarkerLocation
Microsoft.AspNetCore.Analyzer.Testing (1)
TestSource.cs (1)
42testInput.DefaultMarkerLocation = markerLocation;
54 references to DefaultMarkerLocation
Microsoft.AspNetCore.Analyzer.Testing (1)
TestSource.cs (1)
40if (testInput.DefaultMarkerLocation == null)
Microsoft.AspNetCore.App.Analyzers.Test (45)
Components\DisallowNonLiteralSequenceNumbersTest.cs (3)
47AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 68AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 89AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
RouteEmbeddedLanguage\RoutePatternAnalyzerTests.cs (6)
46AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 78AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 111AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 139AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 167AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 196AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
RouteHandlers\DetectMisplacedLambdaAttributeTest.cs (6)
49AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 71AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 97AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 103AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 130AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 219AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
RouteHandlers\DisallowMvcBindArgumentsOnParametersTest.cs (2)
62AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 84AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
RouteHandlers\DisallowReturningActionResultsFromMapMethodsTest.cs (6)
131AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 154AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 182AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 214AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 252AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 290AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
WebApplicationBuilder\DisallowConfigureHostBuilderConfigureWebHostTest.cs (7)
46AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 67AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 89AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 129AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 157AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 186AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 220AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
WebApplicationBuilder\DisallowConfigureHostLoggingTest.cs (1)
274AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
WebApplicationBuilder\DisallowConfigureServicesTest.cs (1)
285AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
WebApplicationBuilder\DisallowConfigureWebHostBuilderConfigureTest.cs (4)
48AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 69AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 96AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 124AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
WebApplicationBuilder\DisallowConfigureWebHostBuilderUseStartupTest.cs (6)
47AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 68AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 88AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 109AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 136AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 164AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
WebApplicationBuilder\UseTopLevelRouteRegistrationInsteadOfUseEndpointsTest.cs (3)
123AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 208AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location); 234AnalyzerAssert.DiagnosticLocation(source.DefaultMarkerLocation, diagnostic.Location);
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;