3 references to GetAttributes
Microsoft.CodeAnalysis.PublicApiAnalyzers (3)
DeclarePublicApiAnalyzer.Impl.cs (1)
706foreach (var attribute in compilation.Assembly.GetAttributes(typeForwardedToAttribute))
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
242return symbol.GetAttributes(attributeType).FirstOrDefault(); 275return symbol.GetAttributes(attributeTypesToMatch).Any();