9 instantiations of UsingDirectiveIntermediateNode
Microsoft.AspNetCore.Razor.Language.UnitTests (7)
CodeGeneration\DesignTimeNodeWriterTest.cs (3)
27var node = new UsingDirectiveIntermediateNode() 54var node = new UsingDirectiveIntermediateNode() 90var node = new UsingDirectiveIntermediateNode()
CodeGeneration\RuntimeNodeWriterTest.cs (3)
28var node = new UsingDirectiveIntermediateNode() 52var node = new UsingDirectiveIntermediateNode() 83var node = new UsingDirectiveIntermediateNode()
DocumentClassifierPassBaseTest.cs (1)
133builder.Add(new UsingDirectiveIntermediateNode());
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (1)
116var @using = new UsingDirectiveIntermediateNode()
Mvc\ModelDirective.cs (1)
98var usingNode = new UsingDirectiveIntermediateNode()
31 references to UsingDirectiveIntermediateNode
Microsoft.AspNetCore.Mvc.Razor.Extensions.UnitTests (4)
ModelDirectiveTest.cs (4)
205var usingNode = Assert.IsType<UsingDirectiveIntermediateNode>(namespaceNode.Children[0]); 237var usingNode = Assert.IsType<UsingDirectiveIntermediateNode>(namespaceNode.Children[0]);
Microsoft.AspNetCore.Razor.Language.UnitTests (7)
CodeGeneration\DesignTimeNodeWriterTest.cs (3)
27var node = new UsingDirectiveIntermediateNode() 54var node = new UsingDirectiveIntermediateNode() 90var node = new UsingDirectiveIntermediateNode()
CodeGeneration\RuntimeNodeWriterTest.cs (3)
28var node = new UsingDirectiveIntermediateNode() 52var node = new UsingDirectiveIntermediateNode() 83var node = new UsingDirectiveIntermediateNode()
DocumentClassifierPassBaseTest.cs (1)
142n => Assert.IsType<UsingDirectiveIntermediateNode>(n),
Microsoft.AspNetCore.Razor.Test.Common (3)
Language\IntegrationTests\IntermediateNodeWriter.cs (1)
120public override void VisitUsingDirective(UsingDirectiveIntermediateNode node)
Language\Intermediate\IntermediateNodeAssert.cs (2)
140var @using = Assert.IsType<UsingDirectiveIntermediateNode>(node);
Microsoft.CodeAnalysis.Razor.Compiler (15)
Language\CodeGeneration\DesignTimeNodeWriter.cs (1)
19public override void WriteUsingDirective(CodeRenderingContext context, UsingDirectiveIntermediateNode node)
Language\CodeGeneration\IntermediateNodeWriter.cs (1)
11public abstract void WriteUsingDirective(CodeRenderingContext context, UsingDirectiveIntermediateNode node);
Language\CodeGeneration\RuntimeNodeWriter.cs (1)
37public override void WriteUsingDirective(CodeRenderingContext context, UsingDirectiveIntermediateNode node)
Language\Components\ComponentDesignTimeNodeWriter.cs (1)
58public override void WriteUsingDirective(CodeRenderingContext context, UsingDirectiveIntermediateNode node)
Language\Components\ComponentLoweringPass.cs (2)
41var usings = documentNode.FindDescendantNodes<UsingDirectiveIntermediateNode>(); 89static TagHelperDescriptor GetTagHelperOrAddDiagnostic(TagHelperIntermediateNode node, IReadOnlyList<UsingDirectiveIntermediateNode> usings)
Language\Components\ComponentRuntimeNodeWriter.cs (1)
306public override void WriteUsingDirective(CodeRenderingContext context, UsingDirectiveIntermediateNode node)
Language\DefaultRazorCSharpLoweringPhase.cs (2)
128public override void VisitUsingDirective(UsingDirectiveIntermediateNode node) 147if (child is UsingDirectiveIntermediateNode)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (2)
113UsingDirectiveIntermediateNode lastDirective = null; 116var @using = new UsingDirectiveIntermediateNode()
Language\DocumentClassifierPassBase.cs (2)
130public override void VisitUsingDirective(UsingDirectiveIntermediateNode node) 137if (child is UsingDirectiveIntermediateNode)
Language\Intermediate\IntermediateNodeVisitor.cs (1)
107public virtual void VisitUsingDirective(UsingDirectiveIntermediateNode node)
Mvc\ModelDirective.cs (1)
98var usingNode = new UsingDirectiveIntermediateNode()
Microsoft.CodeAnalysis.Razor.Workspaces (2)
CodeActions\Razor\ExtractToCodeBehindCodeActionResolver.cs (2)
86.FindDescendantNodes<UsingDirectiveIntermediateNode>(); 88foreach (var usingDirective in usingDirectives)