6 overrides of Options
Microsoft.CodeAnalysis.CSharp (3)
Syntax\CSharpSyntaxTree.Dummy.cs (1)
54public override CSharpParseOptions Options
Syntax\CSharpSyntaxTree.LazySyntaxTree.cs (1)
93public override CSharpParseOptions Options
Syntax\CSharpSyntaxTree.ParsedSyntaxTree.cs (1)
107public override CSharpParseOptions Options
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
DeclarationTests.cs (1)
950public override CSharpParseOptions Options
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\Mocks\MockCSharpSyntaxTree.cs (1)
19public override CSharpParseOptions Options { get; }
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Workspace\LanguageServices\CSharpSyntaxTreeFactoryService.ParsedSyntaxTree.cs (1)
23public override CSharpParseOptions Options { get; }
12 references to Options
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Await.cs (2)
221(nodeOrToken.SyntaxTree as CSharpSyntaxTree)?.Options?.IsFeatureEnabled(MessageID.IDS_AwaitInCatchAndFinally) == false) 227(nodeOrToken.SyntaxTree as CSharpSyntaxTree)?.Options?.IsFeatureEnabled(MessageID.IDS_AwaitInCatchAndFinally) == false)
Compilation\CSharpCompilation.cs (2)
882if (this.IsSubmission && tree.Options.Kind == SourceCodeKind.Regular) 4810return firstTree.Options.PreprocessorSymbolNames.ToImmutableArray();
Errors\LazyMissingNonNullTypesContextDiagnosticInfo.cs (1)
67var info = featureId.GetFeatureAvailabilityDiagnosticInfo(tree.Options);
Syntax\CSharpSyntaxTree.cs (6)
137return Options.Kind == SourceCodeKind.Script && GetCompilationUnitRoot().HasReferenceDirectives; 147if (Options.Kind == SourceCodeKind.Script) 195return this.Options.PreprocessorSymbols.Contains(symbolName); 571using var lexer = new InternalSyntax.Lexer(newText, this.Options); 580Options, 901return this.Options;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\CSharpDeterministicBuildCompilationTests.cs (1)
50pdbOptions.VerifyPdbOption("define", firstSyntaxTree.Options.PreprocessorSymbolNames, isDefault: v => v.IsEmpty(), toString: v => string.Join(",", v));