9 references to NewLineForCatch
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EditorConfigSettings\Updater\SettingsUpdaterTests.cs (1)
244(CSharpFormattingOptions2.NewLineForCatch, true),
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
99(options.GetOption(CSharpFormattingOptions2.NewLineForCatch, fallbackOptions.NewLines.HasFlag(NewLinePlacement.BeforeCatch)) ? NewLinePlacement.BeforeCatch : 0) |
Formatting\CSharpFormattingOptions.cs (2)
176/// <inheritdoc cref="CSharpFormattingOptions2.NewLineForCatch"/> 177public static Option<bool> NewLineForCatch { get; } = CSharpFormattingOptions2.NewLineForCatch.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Formatting\FormattingTests.cs (1)
2069{ CSharpFormattingOptions2.NewLineForCatch, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
93yield return Setting.Create(CSharpFormattingOptions2.NewLineForCatch, CSharpVSResources.Place_catch_on_new_line, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
116get { return GetBooleanOption(CSharpFormattingOptions2.NewLineForCatch); } 117set { SetBooleanOption(CSharpFormattingOptions2.NewLineForCatch, value); }
Options\Formatting\NewLinesViewModel.cs (1)
224Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.NewLineForCatch, CSharpVSResources.Place_catch_on_new_line, s_tryCatchFinallyPreview, this, optionStore));