5 references to WithFeatures
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
466
return parseOptions.
WithFeatures
(features);
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
DeterministicKeyBuilderTests.cs (1)
470
.
WithFeatures
(features.Select(x => new KeyValuePair<string, string>(x.Key, x.Value)));
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\TryApplyChangesTests.cs (3)
124
project.ParseOptions!.
WithFeatures
(new[] { KeyValuePairUtil.Create("Feature", "") })).Solution));
139
project.WithParseOptions(project.ParseOptions!.
WithFeatures
(new[] { KeyValuePairUtil.Create("Feature", "ExpectedValue") })).Solution));
154
project.WithParseOptions(project.ParseOptions!.
WithFeatures
(new[] { KeyValuePairUtil.Create("Feature", "WrongThing") })).Solution));