13 references to Options
Microsoft.CodeAnalysis.CSharp (13)
Parser\DirectiveParser.cs (6)
337var specified = this.Options.SpecifiedLanguageVersion; 348if (this.Options.LanguageVersion != LanguageVersion.Preview && 352ErrorCode error = this.Options.LanguageVersion.GetErrorCode(); 503if (Options.Kind == SourceCodeKind.Regular) 523if (Options.Kind == SourceCodeKind.Regular) 921return 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);