18 references to NewLineForElse
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
EditorConfigSettings\Updater\SettingsUpdaterTests.cs (8)
87(CSharpFormattingOptions2.NewLineForElse, true)); 148(CSharpFormattingOptions2.NewLineForElse, false)); 174(CSharpFormattingOptions2.NewLineForElse, true)); 198(CSharpFormattingOptions2.NewLineForElse, true)); 234(CSharpFormattingOptions2.NewLineForElse, true)); 243(CSharpFormattingOptions2.NewLineForElse, true), 323(CSharpFormattingOptions2.NewLineForElse, true)); 389var setting = Setting.Create(CSharpFormattingOptions2.NewLineForElse, "description", options, updater);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
98(options.GetOption(CSharpFormattingOptions2.NewLineForElse, fallbackOptions.NewLines.HasFlag(NewLinePlacement.BeforeElse)) ? NewLinePlacement.BeforeElse : 0) |
Formatting\CSharpFormattingOptions.cs (2)
173/// <inheritdoc cref="CSharpFormattingOptions2.NewLineForElse"/> 174public static Option<bool> NewLineForElse { get; } = CSharpFormattingOptions2.NewLineForElse.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (3)
Formatting\FormattingTests.cs (3)
2068{ CSharpFormattingOptions2.NewLineForElse, false }, 2133{ NewLineForElse, false }, 6364{ CSharpFormattingOptions2.NewLineForElse, false }
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
92yield return Setting.Create(CSharpFormattingOptions2.NewLineForElse, CSharpVSResources.Place_else_on_new_line, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
122get { return GetBooleanOption(CSharpFormattingOptions2.NewLineForElse); } 123set { SetBooleanOption(CSharpFormattingOptions2.NewLineForElse, value); }
Options\Formatting\NewLinesViewModel.cs (1)
223Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.NewLineForElse, CSharpVSResources.Place_else_on_new_line, s_ifElsePreview, this, optionStore));