1 write to Options
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\ParserContext.cs (1)
34
Options
= options;
14 references to Options
Microsoft.CodeAnalysis.Razor.Compiler (14)
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)
1004
if ((!Context.
Options
.AllowRazorInAllCodeBlocks && At(SyntaxKind.LeftBrace)) ||
1014
else if (Context.
Options
.AllowRazorInAllCodeBlocks && At(SyntaxKind.LeftBrace))
1889
if (Context.
Options
.AllowRazorInAllCodeBlocks)
2495
if (!Context.
Options
.AllowUsingVariableDeclarations)
Language\Legacy\HtmlMarkupParser.cs (4)
30
: base(context.
Options
.ParseLeadingDirectives ? FirstDirectiveHtmlLanguageCharacteristics.Instance : HtmlLanguageCharacteristics.Instance, context)
1202
if (Context.
Options
.AllowCSharpInMarkupAttributeArea)
1239
(token.Kind != SyntaxKind.Transition || !self.Context.
Options
.AllowCSharpInMarkupAttributeArea) &&
2103
if (Context.
Options
.AllowConditionalDataDashAttributes)
Language\Legacy\ParserContext.cs (1)
61
public bool DesignTimeMode =>
Options
.DesignTime;
Language\Legacy\TokenizerBackedParser.cs (1)
55
editHandlerBuilder = context.
Options
.EnableSpanEditHandlers ? new SpanEditHandlerBuilder(LanguageTokenizeString) : null;