13 references to WrappingPreserveSingleLine
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Formatting\CSharpFormattingOptions.cs (2)
158
/// <inheritdoc cref="CSharpFormattingOptions2.
WrappingPreserveSingleLine
"/>
159
public static Option<bool> WrappingPreserveSingleLine { get; } = CSharpFormattingOptions2.
WrappingPreserveSingleLine
.ToPublicOption();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (1)
112
WrappingPreserveSingleLine = options.GetOption(CSharpFormattingOptions2.
WrappingPreserveSingleLine
);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (6)
Formatting\FormattingMultipleSpanTests.cs (1)
127
{ CSharpFormattingOptions2.
WrappingPreserveSingleLine
, false }
Formatting\FormattingTests.cs (5)
1571
{ CSharpFormattingOptions2.
WrappingPreserveSingleLine
, false }
1717
{ CSharpFormattingOptions2.
WrappingPreserveSingleLine
, false },
6922
var options = new OptionsCollection(LanguageNames.CSharp) { { CSharpFormattingOptions2.
WrappingPreserveSingleLine
, false } };
6941
var options = new OptionsCollection(LanguageNames.CSharp) { { CSharpFormattingOptions2.
WrappingPreserveSingleLine
, false } };
9110
{ CSharpFormattingOptions2.
WrappingPreserveSingleLine
, true },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
108
yield return Setting.Create(CSharpFormattingOptions2.
WrappingPreserveSingleLine
, CSharpVSResources.Leave_block_on_single_line, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
302
get { return GetBooleanOption(CSharpFormattingOptions2.
WrappingPreserveSingleLine
); }
303
set { SetBooleanOption(CSharpFormattingOptions2.
WrappingPreserveSingleLine
, value); }
Options\Formatting\WrappingViewModel.cs (1)
41
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
WrappingPreserveSingleLine
, CSharpVSResources.Leave_block_on_single_line, s_blockPreview, this, optionStore));