12 references to IsDirectiveAttribute
Microsoft.CodeAnalysis.Razor.Compiler (5)
Language\DefaultTagHelperResolutionPhase.ComponentTagHelperResolver.cs (4)
153var hasDirectiveMatch = matches.Any(static m => m.Attribute.IsDirectiveAttribute); 157if (hasDirectiveMatch && !match.Attribute.IsDirectiveAttribute) 162if (match.Attribute.IsDirectiveAttribute) 861if (match.Attribute.IsDirectiveAttribute)
Language\Legacy\TagHelperBlockRewriter.cs (1)
516isDirectiveAttribute = match.Attribute.IsDirectiveAttribute;
Microsoft.CodeAnalysis.Razor.UnitTests (2)
EventHandlerTagHelperProducerTest.cs (2)
101Assert.True(attribute.IsDirectiveAttribute); 235Assert.True(attribute.IsDirectiveAttribute);
Microsoft.CodeAnalysis.Razor.Workspaces (5)
CodeActions\Razor\UnboundDirectiveAttributeAddUsingCodeActionProvider.cs (1)
122if (boundAttribute.IsDirectiveAttribute &&
Completion\DirectiveAttributeCompletionItemProvider.cs (2)
122if (attribute.IsDirectiveAttribute) 154if (attribute.IsDirectiveAttribute && !attribute.IndexerNamePrefix.IsNullOrEmpty())
Completion\TagHelperCompletionProvider.cs (1)
179static tagHelper => !tagHelper.BoundAttributes.Any(static attribute => attribute.IsDirectiveAttribute));
Completion\TagHelperCompletionService.cs (1)
182if (possibleDescriptor.BoundAttributes.Any(static boundAttribute => boundAttribute.IsDirectiveAttribute))