7 references to MvcDetector
Microsoft.AspNetCore.App.Analyzers (7)
Mvc\MvcAnalyzer.cs (2)
47if (MvcDetector.IsController(namedTypeSymbol, wellKnownTypes)) 62if (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)
139var usageType = MvcDetector.IsController(classSymbol, wellKnownTypes) ? RouteUsageType.MvcController : RouteUsageType.Other; 219if (!MvcDetector.IsController(typeSymbol, wellKnownTypes)) 224if (!MvcDetector.IsAction(methodSymbol, wellKnownTypes))