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