2 references to GetAttributes
Microsoft.AspNetCore.App.Analyzers (2)
Mvc\DetectAmbiguousActionRoutes.cs (1)
122
var actionNameAttribute = actionSymbol.
GetAttributes
(wellKnownTypes.Get(WellKnownType.Microsoft_AspNetCore_Mvc_ActionNameAttribute), inherit: true).FirstOrDefault();
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
19
=>
GetAttributes
(methodSymbol, attribute, inherit).Any();