2 instantiations of ParserContext
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\Legacy\HtmlMarkupParser.cs (1)
50using var xmlContext = new ParserContext(sourceDocument, options, cancellationToken);
Language\Legacy\RazorParser.cs (1)
28using var context = new ParserContext(source, Options, cancellationToken);
12 references to ParserContext
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\Legacy\CSharpCodeParser.cs (3)
120public CSharpCodeParser(ParserContext context) 125public CSharpCodeParser(ImmutableArray<DirectiveDescriptor> directives, ParserContext context) 230ParserContext context,
Language\Legacy\HtmlMarkupParser.cs (3)
31public HtmlMarkupParser(ParserContext context) 36private HtmlMarkupParser(ParserContext context, bool parseAsXml) 50using var xmlContext = new ParserContext(sourceDocument, options, cancellationToken);
Language\Legacy\ParserBase.cs (2)
8internal abstract class ParserBase(ParserContext context) 10public ParserContext Context { get; } = context;
Language\Legacy\ParserContext.ErrorScope.cs (2)
8public readonly ref struct ErrorScope(ParserContext context) 10private readonly ParserContext _context = context;
Language\Legacy\RazorParser.cs (1)
28using var context = new ParserContext(source, Options, cancellationToken);
Language\Legacy\TokenizerBackedParser.cs (1)
47protected TokenizerBackedParser(LanguageCharacteristics<TTokenizer> language, ParserContext context)