11 references to new
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
114
var options = new
TestOptionSet
(ImmutableDictionary<OptionKey, object>.Empty.Add(new OptionKey(ThirdPartyOption.Instance, LanguageNames.CSharp), 1));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Fakes\TestOptionSet.cs (2)
14
public static new readonly TestOptionSet Empty =
new
(ImmutableDictionary<OptionKey, object?>.Empty);
30
return new
TestOptionSet
(_values.SetItem(optionKey, internalValue));
OptionsCollection.cs (1)
86
=> new
TestOptionSet
(_options.ToImmutableDictionary(entry => new OptionKey(entry.Key.Option, entry.Key.Language), entry => entry.Value));
Microsoft.CodeAnalysis.Workspaces.UnitTests (7)
Formatter\FormatterTests.cs (1)
85
var options = passExplicitOptions ? new
TestOptionSet
(ImmutableDictionary<OptionKey, object?>.Empty.
Options\DocumentOptionSetTests.cs (6)
21
var underlyingSet = new
TestOptionSet
(ImmutableDictionary<OptionKey, object?>.Empty.Add(
51
var underlyingSet = new
TestOptionSet
(ImmutableDictionary<OptionKey, object?>.Empty.Add(
73
var underlyingSet = new
TestOptionSet
(ImmutableDictionary<OptionKey, object?>.Empty);
90
var underlyingSet = new
TestOptionSet
(ImmutableDictionary<OptionKey, object?>.Empty);
122
var underlyingSet = new
TestOptionSet
(ImmutableDictionary<OptionKey, object?>.Empty
152
var underlyingSet = new
TestOptionSet
(ImmutableDictionary<OptionKey, object?>.Empty);