8 references to IsAttribute
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\CSharpSimplificationService.Expander.cs (1)
586if (symbol.IsConstructor() && symbol.ContainingType?.IsAttribute() == true)
Microsoft.CodeAnalysis.Features (5)
AddImport\AbstractAddImportCodeRefactoringProvider.cs (1)
145constructor.ContainingType.IsAttribute())
AddImport\SymbolReferenceFinder.cs (1)
238if (inAttributeContext && !symbol.IsAttribute())
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
200skipSuppressMessage = suppressMessageAttribute == null || !suppressMessageAttribute.IsAttribute();
Completion\Providers\ImportCompletionProvider\TypeImportCompletionCacheEntry.cs (1)
192var isAttribute = symbol.Name.HasAttributeSuffix(isCaseSensitive: false) && symbol.IsAttribute();
FullyQualify\AbstractFullyQualifyService.cs (1)
249if (inAttributeContext && !searchResult.IsAttribute())
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (2)
476=> (symbol as ITypeSymbol)?.IsAttribute() == true; 553if (type.IsAttribute() && type.IsAccessibleWithin(withinType ?? withinAssembly))