13 references to Options
Microsoft.CodeAnalysis.CSharp (13)
Parser\DirectiveParser.cs (6)
331
var specified = this.
Options
.SpecifiedLanguageVersion;
342
if (this.
Options
.LanguageVersion != LanguageVersion.Preview &&
346
ErrorCode error = this.
Options
.LanguageVersion.GetErrorCode();
497
if (
Options
.Kind == SourceCodeKind.Regular)
517
if (
Options
.Kind == SourceCodeKind.Regular)
889
return this.
Options
.PreprocessorSymbols.Contains(id);
Parser\DocumentationCommentParser.cs (1)
855
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);
463
using var tempLexer = new Lexer(SourceText.From(fakeString), this.
Options
, allowPreprocessorDirectives: false);
Parser\SyntaxParser.cs (3)
209
get { return
Options
.Kind == SourceCodeKind.Script; }
1088
var info = feature.GetFeatureAvailabilityDiagnosticInfo(this.
Options
);
1105
return this.
Options
.IsFeatureEnabled(feature);