1 write to Options
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\ParserContext.cs (1)
34
Options
= options;
13 references to Options
Microsoft.CodeAnalysis.Razor.Compiler (13)
Language\Legacy\CSharpCodeParser.cs (8)
124
: base(context.
Options
.ParseLeadingDirectives
126
: context.
Options
.UseRoslynTokenizer
127
? new RoslynCSharpLanguageCharacteristics(context.
Options
.CSharpParseOptions)
608
else if (At(SyntaxKind.Not) && Context.
Options
.AllowNullableForgivenessOperator)
999
if ((!Context.
Options
.AllowRazorInAllCodeBlocks && At(SyntaxKind.LeftBrace)) ||
1009
else if (Context.
Options
.AllowRazorInAllCodeBlocks && At(SyntaxKind.LeftBrace))
1884
if (Context.
Options
.AllowRazorInAllCodeBlocks)
2490
if (!Context.
Options
.AllowUsingVariableDeclarations)
Language\Legacy\HtmlMarkupParser.cs (4)
30
: base(context.
Options
.ParseLeadingDirectives ? FirstDirectiveHtmlLanguageCharacteristics.Instance : HtmlLanguageCharacteristics.Instance, context)
1196
if (Context.
Options
.AllowCSharpInMarkupAttributeArea)
1233
(token.Kind != SyntaxKind.Transition || !self.Context.
Options
.AllowCSharpInMarkupAttributeArea) &&
2097
if (Context.
Options
.AllowConditionalDataDashAttributes)
Language\Legacy\TokenizerBackedParser.cs (1)
55
editHandlerBuilder = context.
Options
.EnableSpanEditHandlers ? new SpanEditHandlerBuilder(LanguageTokenizeString) : null;