1 implementation of IsAttributeArgument
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
594
public bool
IsAttributeArgument
([NotNullWhen(true)] SyntaxNode? node)
3 references to IsAttributeArgument
Microsoft.CodeAnalysis.Features (3)
EmbeddedLanguages\EmbeddedLanguageDetector.cs (1)
225
else if (syntaxFacts.
IsAttributeArgument
(container.Parent))
InlineHints\AbstractInlineParameterNameHintsService.cs (1)
292
syntaxFacts.
IsAttributeArgument
(argument) ? syntaxFacts.GetExpressionOfAttributeArgument(argument) : null;
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
136
var invalidNode = expression.FirstAncestorOrSelf<SyntaxNode>(node => syntaxFacts.
IsAttributeArgument
(node) || syntaxFacts.IsParameter(node));