1 override of Directive
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\DirectiveDescriptor.cs (1)
254
public override string
Directive
{ get; }
38 references to Directive
Microsoft.CodeAnalysis.Razor.Compiler (38)
Language\DefaultDirectiveSyntaxTreePass.cs (1)
84
var errorLength = /* @ */ 1 + SectionDirective.Directive.
Directive
.Length;
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (9)
246
RazorDiagnosticFactory.CreateDirective_BlockDirectiveCannotBeImported(descriptor.
Directive
));
357
DirectiveName = descriptor.
Directive
,
366
DirectiveName = descriptor.
Directive
,
428
DirectiveName = CSharpCodeParser.AddTagHelperDirectiveDescriptor.
Directive
,
437
DirectiveName = CSharpCodeParser.AddTagHelperDirectiveDescriptor.
Directive
,
467
DirectiveName = CSharpCodeParser.RemoveTagHelperDirectiveDescriptor.
Directive
,
476
DirectiveName = CSharpCodeParser.RemoveTagHelperDirectiveDescriptor.
Directive
,
506
DirectiveName = CSharpCodeParser.TagHelperPrefixDirectiveDescriptor.
Directive
,
515
DirectiveName = CSharpCodeParser.TagHelperPrefixDirectiveDescriptor.
Directive
,
Language\DirectiveDescriptorComparer.cs (3)
29
string.Equals(descriptorX.
Directive
, descriptorY.
Directive
, StringComparison.Ordinal) &&
45
hash.Add(descriptor.
Directive
, StringComparer.Ordinal);
Language\Legacy\CSharpCodeParser.cs (22)
206
currentKeywordsSet.Add(directiveDescriptor.
Directive
);
207
MapDirective((builder, transition) => ParseExtensibleDirective(builder, transition, directiveDescriptor), directiveParserMap, keywordsSet, context, directiveDescriptor.
Directive
);
1209
directive == DocumentationDirective.Directive.
Directive
)
1551
AssertDirective(descriptor.
Directive
);
1599
new SourceSpan(CurrentStart, CurrentToken.Content.Length), descriptor.
Directive
));
1653
descriptor.
Directive
,
1666
new SourceSpan(CurrentStart, CurrentToken.Content.Length), descriptor.
Directive
));
1678
new SourceSpan(CurrentStart, identifierLength), descriptor.
Directive
));
1695
new SourceSpan(CurrentStart, CurrentToken.Content.Length), descriptor.
Directive
));
1710
new SourceSpan(CurrentStart, CurrentToken.Content.Length), descriptor.
Directive
));
1725
new SourceSpan(CurrentStart, CurrentToken.Content.Length), descriptor.
Directive
));
1743
new SourceSpan(CurrentStart, CurrentToken.Content.Length), descriptor.
Directive
));
1764
new SourceSpan(CurrentStart, CurrentToken.Content.Length), descriptor.
Directive
, CurrentToken.Content, lastSeenMemberIdentifier ?? string.Empty));
1817
new SourceSpan(CurrentStart, identifierLength), descriptor.
Directive
));
1858
descriptor.
Directive
,
1919
var block = new Block(descriptor.
Directive
, directiveStart);
1974
if (Context.SeenDirectives.Contains(descriptor.
Directive
))
1977
var errorLength = /* @ */ 1 + descriptor.
Directive
.Length;
1980
new SourceSpan(directiveStart, errorLength), descriptor.
Directive
));
2189
new SourceSpan(CurrentStart, contentLength: 1 /* { */), descriptor.
Directive
, "{"));
2195
new SourceSpan(CurrentStart, CurrentToken.Content.Length), descriptor.
Directive
, "{"));
2225
new SourceSpan(startingBraceLocation, contentLength: 1 /* } */), descriptor.
Directive
, "}", "{"));
Language\Syntax\SyntaxSerializer.cs (1)
123
WriteValue($"Directive:{{{descriptor.
Directive
};{descriptor.Kind};{descriptor.Usage}}}");
Mvc\RazorExtensionsDiagnosticFactory.cs (2)
87
return RazorDiagnostic.Create(PageDirective_CannotBeImported, source, PageDirective.Directive.
Directive
, fileName);
96
=> RazorDiagnostic.Create(PageDirective_MustExistAtTheTopOfFile, source, PageDirective.Directive.
Directive
);