13 references to Options
Microsoft.CodeAnalysis.CSharp (13)
Parser\DirectiveParser.cs (6)
326
var specified = this.
Options
.SpecifiedLanguageVersion;
337
if (this.
Options
.LanguageVersion != LanguageVersion.Preview &&
341
ErrorCode error = this.
Options
.LanguageVersion.GetErrorCode();
492
if (
Options
.Kind == SourceCodeKind.Regular)
512
if (
Options
.Kind == SourceCodeKind.Regular)
884
return this.
Options
.PreprocessorSymbols.Contains(id);
Parser\DocumentationCommentParser.cs (1)
850
return
Options
.DocumentationMode >= DocumentationMode.Diagnose
Parser\LanguageParser_InterpolatedString.cs (3)
73
using var tempLexer = new Lexer(SourceText.From(originalText), this.
Options
, allowPreprocessorDirectives: false);
112
var interpolationNode = ParseInterpolation(this.
Options
, originalText, interpolation, kind, IsInFieldKeywordContext);
465
using var tempLexer = new Lexer(SourceText.From(fakeString), this.
Options
, allowPreprocessorDirectives: false);
Parser\SyntaxParser.cs (3)
226
get { return
Options
.Kind == SourceCodeKind.Script; }
1142
var info = feature.GetFeatureAvailabilityDiagnosticInfo(this.
Options
);
1159
return this.
Options
.IsFeatureEnabled(feature);