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