2 overrides of Features
Microsoft.CodeAnalysis.CSharp (1)
CSharpParseOptions.cs (1)
172public override IReadOnlyDictionary<string, string> Features
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicParseOptions.vb (1)
239Public Overrides ReadOnly Property Features As IReadOnlyDictionary(Of String, String)
18 references to Features
Microsoft.CodeAnalysis (8)
CommandLine\CommonCompiler.cs (3)
827!Arguments.ParseOptions.Features.ContainsKey("enable-generator-cache") || 1260if (Arguments.ParseOptions.Features.ContainsKey("pdb-path-determinism") && !string.IsNullOrEmpty(emitOptions.PdbFilePath)) 1265if (Arguments.ParseOptions.Features.ContainsKey("debug-determinism"))
Compilation\Compilation.cs (1)
102var treeFeatures = tree.Options.Features;
Compilation\DeterministicKeyBuilder.cs (1)
524var features = parseOptions.Features;
Compilation\ParseOptions.cs (3)
144this.Features.SequenceEqual(other.Features) && 155Hash.Combine(HashFeatures(this.Features),
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
4696bool value = SyntaxTrees.FirstOrDefault()?.Options?.Features?.ContainsKey("nullablePublicOnly") == true;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\LocalFunctionParsingTests.cs (2)
1293Assert.Equal(0, file.SyntaxTree.Options.Features.Count); 1345Assert.Equal(0, file.SyntaxTree.Options.Features.Count);
Microsoft.CodeAnalysis.Workspaces (2)
Serialization\AbstractOptionsSerializationService.cs (2)
198writer.WriteInt32(options.Features.Count); 199foreach (var kv in options.Features.OrderBy(o => o.Key))
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Workspaces\TestWorkspace_XmlCreation.cs (3)
122if (parseOptions.Features == null || parseOptions.Features.Count == 0) 127var value = string.Join(";", parseOptions.Features.Select(p => $"{p.Key}={p.Value}"));
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SolutionTests\TryApplyChangesTests.cs (2)
133canApplyParseOptions: (_, newParseOptions) => newParseOptions.Features["Feature"] == "ExpectedValue"); 148canApplyParseOptions: (_, newParseOptions) => newParseOptions.Features["Feature"] == "ExpectedValue");