11 references to Directive
Microsoft.AspNetCore.Razor.Language.Legacy.UnitTests (4)
Legacy\CSharpSectionTest.cs (1)
91
[SectionDirective.Directive, InheritsDirective.
Directive
]);
Legacy\RazorDirectivesTest.cs (3)
759
[InheritsDirective.
Directive
]);
767
[InheritsDirective.
Directive
]);
775
[InheritsDirective.
Directive
]);
Microsoft.AspNetCore.Razor.Language.UnitTests (5)
Legacy\CSharpSectionTest.cs (1)
91
[SectionDirective.Directive, InheritsDirective.
Directive
]);
Legacy\RazorDirectivesTest.cs (3)
758
[InheritsDirective.
Directive
]);
766
[InheritsDirective.
Directive
]);
774
[InheritsDirective.
Directive
]);
RazorProjectEngineTest.cs (1)
105
directive => Assert.Same(InheritsDirective.
Directive
, directive),
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\Extensions\InheritsDirective.cs (1)
30
builder.AddDirective(
Directive
, RazorFileKind.Legacy, RazorFileKind.Component, RazorFileKind.ComponentImport);
Language\Extensions\InheritsDirectivePass.cs (1)
23
foreach (var inherits in documentNode.FindDirectiveReferences(InheritsDirective.
Directive
))