5 instantiations of RazorParserOptions
Microsoft.CodeAnalysis.Razor.Compiler (5)
Language\RazorParserOptions.cs (4)
19public static RazorParserOptions Default { get; } = new(
109: new(LanguageVersion, FileKind, value, CSharpParseOptions, _flags);
114: new(LanguageVersion, FileKind, Directives, value, _flags);
194: new(LanguageVersion, FileKind, Directives, CSharpParseOptions, flags);
114 references to RazorParserOptions
Microsoft.AspNetCore.Razor.Language.Legacy.UnitTests (2)
Microsoft.AspNetCore.Razor.Language.UnitTests (42)
RazorCodeDocumentExtensionsTest.cs (9)
139parserOptions: RazorParserOptions.Create(RazorLanguageVersion.Latest, FileKinds.GetFileKindFromPath(filePath)));
286parserOptions: RazorParserOptions.Create(RazorLanguageVersion.Latest, RazorFileKind.Component, builder =>
311parserOptions: RazorParserOptions.Create(RazorLanguageVersion.Latest, RazorFileKind.Component, builder =>
343parserOptions: RazorParserOptions.Create(RazorLanguageVersion.Latest, RazorFileKind.Component, builder =>
376parserOptions: RazorParserOptions.Create(RazorLanguageVersion.Latest, RazorFileKind.Component, builder =>
410parserOptions: RazorParserOptions.Create(RazorLanguageVersion.Latest, RazorFileKind.Component, builder =>
442parserOptions: RazorParserOptions.Create(RazorLanguageVersion.Latest, RazorFileKind.Legacy, builder =>
492parserOptions: RazorParserOptions.Default.WithDirectives(NamespaceDirective.Directive));
522parserOptions: RazorParserOptions.Default.WithDirectives(NamespaceDirective.Directive));
Microsoft.AspNetCore.Razor.Microbenchmarks.Compiler (4)
Microsoft.AspNetCore.Razor.Test.Common (6)
Microsoft.CodeAnalysis.Razor.Compiler (54)
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (6)