9 references to SetOption
Microsoft.VisualStudio.LanguageServices.CSharp (7)
Options\AutomationObject\AutomationObject.Completion.cs (3)
38
set {
SetOption
(CompletionOptionsStorage.EnterKeyBehavior, (EnterKeyRule)value); }
44
set {
SetOption
(CompletionOptionsStorage.EnterKeyBehavior, (EnterKeyRule)value); }
50
set {
SetOption
(CompletionOptionsStorage.SnippetsBehavior, (SnippetsRule)value); }
Options\AutomationObject\AutomationObject.cs (1)
37
=>
SetOption
(option, value != 0);
Options\AutomationObject\AutomationObject.Naming.cs (1)
21
SetOption
(NamingStyleOptions.NamingPreferences, NamingStylePreferences.FromXElement(XElement.Parse(value)));
Options\AutomationObject\AutomationObject.ObsoleteAndUnused.cs (2)
58
SetOption
(CompletionOptionsStorage.SnippetsBehavior, SnippetsRule.NeverInclude);
62
SetOption
(CompletionOptionsStorage.SnippetsBehavior, SnippetsRule.AlwaysInclude);
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Options\AbstractAutomationObject.cs (2)
45
=>
SetOption
(key, IntegerToNullableBoolean(value));
68
SetOption
(option, convertedValue);