5 references to IsAttribute
Microsoft.CodeAnalysis.Features (5)
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
110if (syntaxFactsService.IsAttribute(attributeSyntaxNodeCandidate))
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringRefactoringProvider.cs (1)
70var attribute = literalExpression.FirstAncestorOrSelf<SyntaxNode>(syntaxFacts.IsAttribute);
GenerateMember\AbstractGenerateMemberService.cs (1)
140var attributeNode = expression.GetAncestors().FirstOrDefault(syntaxFacts.IsAttribute);
RemoveUnnecessaryPragmaSuppressionsCodeFixProvider.cs (2)
43if (root.FindNode(diagnostic.Location.SourceSpan) is { } node && syntaxFacts.IsAttribute(node) || 81syntaxFacts.IsAttribute(attribute))