2 instantiations of TagHelperDirectiveAttributeIntermediateNode
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\DefaultTagHelperResolutionPhase.ComponentTagHelperResolver.cs (2)
221: new TagHelperDirectiveAttributeIntermediateNode(match) 886: new TagHelperDirectiveAttributeIntermediateNode(match)
47 references to TagHelperDirectiveAttributeIntermediateNode
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\IntegrationTests\IntermediateNodeWriter.cs (1)
140public override void VisitTagHelperDirectiveAttribute(TagHelperDirectiveAttributeIntermediateNode node)
Microsoft.CodeAnalysis.Razor.Compiler (46)
Language\Components\ComponentBindLoweringPass.AttributeInfo.cs (1)
51public AttributeInfo(TagHelperDirectiveAttributeIntermediateNode node, int index)
Language\Components\ComponentBindLoweringPass.BindEntryKey.cs (1)
13public BindEntryKey(IntermediateNode parent, TagHelperDirectiveAttributeIntermediateNode node)
Language\Components\ComponentBindLoweringPass.cs (12)
47using var references = new PooledArrayBuilder<IntermediateNodeReference<TagHelperDirectiveAttributeIntermediateNode>>(); 78var node = reference.Node; 113var bindNode = existingEntry.BindNode.AssumeNotNull(); 217ref PooledArrayBuilder<IntermediateNodeReference<TagHelperDirectiveAttributeIntermediateNode>> references, 249case TagHelperDirectiveAttributeIntermediateNode directiveAttribute: 320if (child is TagHelperDirectiveAttributeIntermediateNode { AttributeName: string attributeName } && 336if (children[i] is TagHelperDirectiveAttributeIntermediateNode directiveAttribute) 357builder.Select(static x => (TagHelperDirectiveAttributeIntermediateNode)x.Node))); 561var node = bindEntry.BindNode; 1082TagHelperDirectiveAttributeIntermediateNode n => n.OriginalAttributeSpan, 1109public TagHelperDirectiveAttributeIntermediateNode? BindNode { get; } 1122public BindEntry(IntermediateNodeReference<TagHelperDirectiveAttributeIntermediateNode> bindNodeReference)
Language\Components\ComponentComplexAttributeContentPass.cs (1)
50else if (node.Children[i] is TagHelperDirectiveAttributeIntermediateNode directiveAttributeNode)
Language\Components\ComponentDiagnosticFactory.cs (2)
129SourceSpan? source, string attribute, IEnumerable<TagHelperDirectiveAttributeIntermediateNode> attributes) 141public static RazorDiagnostic CreateEventHandler_Duplicates(SourceSpan? source, string attribute, TagHelperDirectiveAttributeIntermediateNode[] attributes)
Language\Components\ComponentEventHandlerLoweringPass.cs (5)
40var references = documentNode.FindDescendantReferences<TagHelperDirectiveAttributeIntermediateNode>(); 62var node = reference.Node; 123.OfType<TagHelperDirectiveAttributeIntermediateNode>() 135foreach (var property in duplicate) 161private static IntermediateNode RewriteUsage(IntermediateNode parent, TagHelperDirectiveAttributeIntermediateNode node)
Language\Components\ComponentFormNameLoweringPass.cs (5)
25var references = documentNode.FindDescendantReferences<TagHelperDirectiveAttributeIntermediateNode>(); 28var node = reference.Node; 44static IntermediateNode Rewrite(TagHelperDirectiveAttributeIntermediateNode node) 52static IntermediateNode RewriteForErrorRecovery(TagHelperDirectiveAttributeIntermediateNode node, IntermediateNode parent) 84static IntermediateNode RewriteCore(TagHelperDirectiveAttributeIntermediateNode node, IntermediateNode replacement)
Language\Components\ComponentKeyLoweringPass.cs (3)
33var references = documentNode.FindDescendantReferences<TagHelperDirectiveAttributeIntermediateNode>(); 44private static void RewriteUsage(IntermediateNodeReference<TagHelperDirectiveAttributeIntermediateNode> reference) 60private static IntermediateToken? DetermineKeyValueToken(TagHelperDirectiveAttributeIntermediateNode attributeNode)
Language\Components\ComponentLoweringPass.cs (5)
376if (intermediateNode.Children.Any(static c => c is TagHelperDirectiveAttributeIntermediateNode node && (node.TagHelper?.Kind == TagHelperKind.Splat))) 408if (child is TagHelperDirectiveAttributeIntermediateNode { OriginalAttributeName: { } originalAttributeName } && 621else if (child is TagHelperDirectiveAttributeIntermediateNode directiveAttribute) 742public override void VisitTagHelperDirectiveAttribute(TagHelperDirectiveAttributeIntermediateNode node) 850public override void VisitTagHelperDirectiveAttribute(TagHelperDirectiveAttributeIntermediateNode node)
Language\Components\ComponentReferenceCaptureLoweringPass.cs (3)
33var references = documentNode.FindDescendantReferences<TagHelperDirectiveAttributeIntermediateNode>(); 44private static void RewriteUsage(IntermediateNodeReference<TagHelperDirectiveAttributeIntermediateNode> reference) 65private static IntermediateToken? DetermineIdentifierToken(TagHelperDirectiveAttributeIntermediateNode attributeNode)
Language\Components\ComponentRenderModeLoweringPass.cs (1)
24var references = documentNode.FindDescendantReferences<TagHelperDirectiveAttributeIntermediateNode>();
Language\Components\ComponentSplatLoweringPass.cs (2)
24foreach (var reference in documentNode.FindDescendantReferences<TagHelperDirectiveAttributeIntermediateNode>()) 33private static void RewriteUsage(IntermediateNodeReference<TagHelperDirectiveAttributeIntermediateNode> reference)
Language\Components\ComponentTemplateDiagnosticPass.cs (1)
58TagHelperDirectiveAttributeIntermediateNode) // Inside a directive attribute
Language\DefaultTagHelperResolutionPhase.ComponentTagHelperResolver.cs (1)
180/// Creates a <see cref="TagHelperDirectiveAttributeIntermediateNode"/> (or its Parameter variant
Language\Intermediate\ComponentAttributeIntermediateNode.cs (2)
96private ComponentAttributeIntermediateNode(TagHelperDirectiveAttributeIntermediateNode node, bool addChildren) 134public static ComponentAttributeIntermediateNode From(TagHelperDirectiveAttributeIntermediateNode node, bool addChildren)
Language\Intermediate\IntermediateNodeVisitor.cs (1)
127public virtual void VisitTagHelperDirectiveAttribute(TagHelperDirectiveAttributeIntermediateNode node)