7 references to MvcDetector
Microsoft.AspNetCore.App.Analyzers (7)
Mvc\MvcAnalyzer.cs (2)
47
if (
MvcDetector
.IsController(namedTypeSymbol, wellKnownTypes))
62
if (member is IMethodSymbol methodSymbol &&
MvcDetector
.IsAction(methodSymbol, wellKnownTypes))
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (2)
200
!
MvcDetector
.IsController(typeSymbol, wellKnownTypes) ||
201
!
MvcDetector
.IsAction(methodSymbol, wellKnownTypes))
RouteEmbeddedLanguage\Infrastructure\RouteUsageDetector.cs (3)
139
var usageType =
MvcDetector
.IsController(classSymbol, wellKnownTypes) ? RouteUsageType.MvcController : RouteUsageType.Other;
219
if (!
MvcDetector
.IsController(typeSymbol, wellKnownTypes))
224
if (!
MvcDetector
.IsAction(methodSymbol, wellKnownTypes))