Base:
property
Features
Microsoft.CodeAnalysis.ParseOptions.Features
16 references to Features
Microsoft.CodeAnalysis.CSharp (4)
CSharpParseOptions.cs (3)
82features: other.Features) 190ImmutableArray<ImmutableArray<string>> previewNamespaces = Features.TryGetValue("InterceptorsNamespaces", out var namespaces) && namespaces.Length > 0 264return Features.ContainsKey(featureFlag);
Symbols\Source\SourceModuleSymbol.cs (1)
601return options?.Features?.ContainsKey("noRefSafetyRulesAttribute") == true;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\CSharpParseOptionsTests.cs (2)
36Assert.Equal(po.Features.AsSingleton(), kvp); 38Assert.Equal(po2.Features.AsSingleton(), kvp);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
TestOptions.cs (4)
108return options.WithFeatures(options.Features.Concat(new[] { new KeyValuePair<string, string>("strict", "true") })); 113return options.WithFeatures(options.Features.Concat(new[] { new KeyValuePair<string, string>("peverify-compat", "true") })); 148return options.WithFeatures(options.Features.Concat(new[] { new KeyValuePair<string, string>(feature, value) })); 169return options.WithFeatures(options.Features.Concat(list));
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (6)
CSharpCommandLineParserServiceTests.cs (6)
27Assert.Equal("true", options.Features["test"]); 34Assert.Equal("dog", options.Features["test"]); 41Assert.Equal("true", options.Features["test1"]); 42Assert.Equal("true", options.Features["test2"]); 49Assert.Equal("dog", options.Features["test1"]); 50Assert.Equal("cat", options.Features["test2"]);