5 references to GetAttributes
Microsoft.AspNetCore.Mvc.Analyzers (5)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (2)
40foreach (var attributeData in GetAttributes(current, attribute)) 61foreach (var attributeData in GetAttributes(type, attribute))
TopLevelParameterNameAnalyzer.cs (3)
86if (parameter.GetAttributes(symbolCache.FromBodyAttribute).Any()) 152foreach (var attribute in symbol.GetAttributes(symbolCache.IModelNameProvider)) 178foreach (var attribute in parameterSymbol.GetAttributes(symbolCache.IBinderTypeProviderMetadata))