3 references to GetAttributes
Microsoft.AspNetCore.Mvc.Api.Analyzers (3)
ActualApiResponseMetadataFactory.cs (1)
88?.GetAttributes(defaultStatusCodeAttributeSymbol, inherit: true)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
16=> GetAttributes(typeSymbol, attribute, inherit).Any();
SymbolApiResponseMetadataProvider.cs (1)
163var attributes = method.ContainingType.GetAttributes(symbolCache.ApiConventionTypeAttribute, inherit: true).ToArray();