3 instantiations of CSharpCodeParser
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
Legacy\CSharpCodeParserTest.cs (1)
225_ = new CSharpCodeParser(directiveDescriptors, context);
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\Legacy\ParserTestBase.cs (1)
220using var codeParser = new CSharpCodeParser(directives, context);
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\RazorParser.cs (1)
29using var codeParser = new CSharpCodeParser(Options.Directives, context);
30 references to CSharpCodeParser
Microsoft.AspNetCore.Razor.Language.UnitTests (5)
Legacy\CSharpCodeParserTest.cs (5)
115CSharpCodeParser.ValidateTagHelperPrefix(directiveText, directiveLocation, diagnostics); 131var directive = new CSharpCodeParser.ParsedDirective() 139var result = CSharpCodeParser.ParseAddOrRemoveDirective(directive, SourceLocation.Zero, diagnostics); 163var directive = new CSharpCodeParser.ParsedDirective() 173var result = CSharpCodeParser.ParseAddOrRemoveDirective(directive, new SourceLocation(1, 2, 3), diagnostics);
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\Legacy\ParserTestBase.cs (1)
220using var codeParser = new CSharpCodeParser(directives, context);
Microsoft.CodeAnalysis.Razor.Compiler (19)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (15)
414DirectiveName = CSharpCodeParser.AddTagHelperDirectiveDescriptor.Directive, 415Directive = CSharpCodeParser.AddTagHelperDirectiveDescriptor, 423DirectiveName = CSharpCodeParser.AddTagHelperDirectiveDescriptor.Directive, 424Directive = CSharpCodeParser.AddTagHelperDirectiveDescriptor, 439DirectiveToken = CSharpCodeParser.AddTagHelperDirectiveDescriptor.Tokens[0], 453DirectiveName = CSharpCodeParser.RemoveTagHelperDirectiveDescriptor.Directive, 454Directive = CSharpCodeParser.RemoveTagHelperDirectiveDescriptor, 462DirectiveName = CSharpCodeParser.RemoveTagHelperDirectiveDescriptor.Directive, 463Directive = CSharpCodeParser.RemoveTagHelperDirectiveDescriptor, 478DirectiveToken = CSharpCodeParser.RemoveTagHelperDirectiveDescriptor.Tokens[0], 492DirectiveName = CSharpCodeParser.TagHelperPrefixDirectiveDescriptor.Directive, 493Directive = CSharpCodeParser.TagHelperPrefixDirectiveDescriptor, 501DirectiveName = CSharpCodeParser.TagHelperPrefixDirectiveDescriptor.Directive, 502Directive = CSharpCodeParser.TagHelperPrefixDirectiveDescriptor, 517DirectiveToken = CSharpCodeParser.TagHelperPrefixDirectiveDescriptor.Tokens[0],
Language\Legacy\HtmlMarkupParser.cs (2)
38private CSharpCodeParser? _codeParser; 39public CSharpCodeParser CodeParser
Language\Legacy\RazorParser.cs (1)
29using var codeParser = new CSharpCodeParser(Options.Directives, context);
Language\Legacy\TagHelperBlockRewriter.cs (1)
897Keywords = CSharpCodeParser.DefaultKeywords
Microsoft.CodeAnalysis.Razor.Workspaces (5)
Completion\DirectiveCompletionItemProvider.cs (5)
23CSharpCodeParser.AddTagHelperDirectiveDescriptor, 24CSharpCodeParser.RemoveTagHelperDirectiveDescriptor, 25CSharpCodeParser.TagHelperPrefixDirectiveDescriptor, 26CSharpCodeParser.UsingDirectiveDescriptor 31CSharpCodeParser.UsingDirectiveDescriptor