13 references to WrappingKeepStatementsOnSingleLine
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
110
WrappingKeepStatementsOnSingleLine = options.GetOption(CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, fallbackOptions.WrappingKeepStatementsOnSingleLine);
Formatting\CSharpFormattingOptions.cs (2)
160
/// <inheritdoc cref="CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
"/>
161
public static Option<bool> WrappingKeepStatementsOnSingleLine { get; } = CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (6)
Formatting\FormattingTests.cs (6)
1580
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false }
1648
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false }
1729
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false }
6647
var options = new OptionsCollection(LanguageNames.CSharp) { { CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false } };
8760
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false},
9380
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false }
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
113
yield return Setting.Create(CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, CSharpVSResources.Leave_statements_and_member_declarations_on_the_same_line, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
296
get { return GetBooleanOption(CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
); }
297
set { SetBooleanOption(CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, value); }
Options\Formatting\WrappingViewModel.cs (1)
41
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, CSharpVSResources.Leave_statements_and_member_declarations_on_the_same_line, s_declarationPreview, this, optionStore));