13 references to WrappingKeepStatementsOnSingleLine
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
161
/// <inheritdoc cref="CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
"/>
162
public static Option<bool> WrappingKeepStatementsOnSingleLine { get; } = CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
.ToPublicOption();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
111
WrappingKeepStatementsOnSingleLine = options.GetOption(CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (6)
Formatting\FormattingTests.cs (6)
1646
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false }
1718
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false }
1803
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false }
6959
var options = new OptionsCollection(LanguageNames.CSharp) { { CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false } };
9111
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false},
9805
{ CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, false }
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
109
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)
42
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
WrappingKeepStatementsOnSingleLine
, CSharpVSResources.Leave_statements_and_member_declarations_on_the_same_line, s_declarationPreview, this, optionStore));