9 references to NewLineForFinally
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EditorConfigSettings\Updater\SettingsUpdaterTests.cs (1)
245
(CSharpFormattingOptions2.
NewLineForFinally
, true));
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
100
(options.GetOption(CSharpFormattingOptions2.
NewLineForFinally
, fallbackOptions.NewLines.HasFlag(NewLinePlacement.BeforeFinally)) ? NewLinePlacement.BeforeFinally : 0) |
Formatting\CSharpFormattingOptions.cs (2)
179
/// <inheritdoc cref="CSharpFormattingOptions2.
NewLineForFinally
"/>
180
public static Option<bool> NewLineForFinally { get; } = CSharpFormattingOptions2.
NewLineForFinally
.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Formatting\FormattingTests.cs (1)
2070
{ CSharpFormattingOptions2.
NewLineForFinally
, false }
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
94
yield return Setting.Create(CSharpFormattingOptions2.
NewLineForFinally
, CSharpVSResources.Place_finally_on_new_line, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
128
get { return GetBooleanOption(CSharpFormattingOptions2.
NewLineForFinally
); }
129
set { SetBooleanOption(CSharpFormattingOptions2.
NewLineForFinally
, value); }
Options\Formatting\NewLinesViewModel.cs (1)
225
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
NewLineForFinally
, CSharpVSResources.Place_finally_on_new_line, s_tryCatchFinallyPreview, this, optionStore));