11 instantiations of TestOptionSet
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
114var 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)
14public static new readonly TestOptionSet Empty = new(ImmutableDictionary<OptionKey, object?>.Empty); 30return 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)
85var options = passExplicitOptions ? new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty.
Options\DocumentOptionSetTests.cs (6)
21var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty.Add( 51var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty.Add( 73var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty); 90var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty); 122var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty 152var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty);
11 references to TestOptionSet
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
114var options = new TestOptionSet(ImmutableDictionary<OptionKey, object>.Empty.Add(new OptionKey(ThirdPartyOption.Instance, LanguageNames.CSharp), 1));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
139=> service.GetCompletionsAsync(document, position, options ?? GetCompletionOptions(), TestOptionSet.Empty, triggerInfo, GetRoles(document));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Fakes\TestOptionSet.cs (1)
14public static new readonly TestOptionSet Empty = new(ImmutableDictionary<OptionKey, object?>.Empty);
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
Formatter\FormatterTests.cs (2)
85var options = passExplicitOptions ? new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty. 120var updatedOptions = OptionsTestHelpers.GetOptionSetWithChangedOptions(TestOptionSet.Empty, OptionsTestHelpers.PublicFormattingOptionsWithNonDefaultValues);
Options\DocumentOptionSetTests.cs (6)
21var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty.Add( 51var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty.Add( 73var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty); 90var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty); 122var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty 152var underlyingSet = new TestOptionSet(ImmutableDictionary<OptionKey, object?>.Empty);