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