12 references to GetOption
Microsoft.VisualStudio.LanguageServices.CSharp (10)
Options\AutomationObject\AutomationObject.cs (5)
22
=>
GetOption
(option) ? 1 : 0;
28
=>
GetOption
(option).HasFlag(flag) ? 1 : 0;
31
=>
GetOption
(option).HasFlag(flag) ? 1 : 0;
40
=> SetOption(option,
GetOption
(option).WithFlagValue(flag, value != 0));
43
=> SetOption(option,
GetOption
(option).WithFlagValue(flag, value != 0));
Options\AutomationObject\AutomationObject.Formatting.cs (4)
44
get { return (int)
GetOption
(CSharpFormattingOptions2.LabelPositioning); }
50
get { return (int)
GetOption
(CSharpFormattingOptions2.LabelPositioning); }
188
get { return (int)
GetOption
(CSharpFormattingOptions2.SpacingAroundBinaryOperator); }
284
get { return (int)
GetOption
(CSharpFormattingOptions2.SpacingAroundBinaryOperator); }
Options\AutomationObject\AutomationObject.Style.cs (1)
272
get { return
GetOption
(CodeStyleOptions2.RemoveUnnecessarySuppressionExclusions); }
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Options\AbstractAutomationObject.cs (2)
48
=> NullableBooleanToInteger(
GetOption
(key));
54
=>
GetOption
(option).ToXElement().ToString();