10 references to SetOption
Microsoft.VisualStudio.LanguageServices.CSharp (8)
Options\AutomationObject\AutomationObject.Completion.cs (4)
39set { SetOption(CompletionOptionsStorage.ImportCompletionCommitBehavior, (ImportCompletionCommitBehavior)value); } 45set { SetOption(CompletionOptionsStorage.EnterKeyBehavior, (EnterKeyRule)value); } 51set { SetOption(CompletionOptionsStorage.EnterKeyBehavior, (EnterKeyRule)value); } 57set { 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);