13 references to Options
Microsoft.CodeAnalysis.CSharp (13)
Parser\DirectiveParser.cs (6)
336var specified = this.Options.SpecifiedLanguageVersion; 347if (this.Options.LanguageVersion != LanguageVersion.Preview && 351ErrorCode error = this.Options.LanguageVersion.GetErrorCode(); 502if (Options.Kind == SourceCodeKind.Regular) 522if (Options.Kind == SourceCodeKind.Regular) 920return this.Options.PreprocessorSymbols.Contains(id);
Parser\DocumentationCommentParser.cs (1)
850return Options.DocumentationMode >= DocumentationMode.Diagnose
Parser\LanguageParser_InterpolatedString.cs (3)
68using var tempLexer = new Lexer(SourceText.From(originalText), this.Options, allowPreprocessorDirectives: false); 107var interpolationNode = ParseInterpolation(this.Options, originalText, interpolation, kind, IsInFieldKeywordContext); 460using var tempLexer = new Lexer(SourceText.From(fakeString), this.Options, allowPreprocessorDirectives: false);
Parser\SyntaxParser.cs (3)
226get { return Options.Kind == SourceCodeKind.Script; } 1150var info = feature.GetFeatureAvailabilityDiagnosticInfo(this.Options); 1167return this.Options.IsFeatureEnabled(feature);