13 references to WrappingPreserveSingleLine
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
111WrappingPreserveSingleLine = options.GetOption(CSharpFormattingOptions2.WrappingPreserveSingleLine, fallbackOptions.WrappingPreserveSingleLine);
Formatting\CSharpFormattingOptions.cs (2)
157/// <inheritdoc cref="CSharpFormattingOptions2.WrappingPreserveSingleLine"/> 158public static Option<bool> WrappingPreserveSingleLine { get; } = CSharpFormattingOptions2.WrappingPreserveSingleLine.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (6)
Formatting\FormattingMultipleSpanTests.cs (1)
154{ CSharpFormattingOptions2.WrappingPreserveSingleLine, false }
Formatting\FormattingTests.cs (5)
1509{ CSharpFormattingOptions2.WrappingPreserveSingleLine, false } 1647{ CSharpFormattingOptions2.WrappingPreserveSingleLine, false }, 6603var options = new OptionsCollection(LanguageNames.CSharp) { { CSharpFormattingOptions2.WrappingPreserveSingleLine, false } }; 6621var options = new OptionsCollection(LanguageNames.CSharp) { { CSharpFormattingOptions2.WrappingPreserveSingleLine, false } }; 8759{ CSharpFormattingOptions2.WrappingPreserveSingleLine, true },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
112yield return Setting.Create(CSharpFormattingOptions2.WrappingPreserveSingleLine, CSharpVSResources.Leave_block_on_single_line, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
302get { return GetBooleanOption(CSharpFormattingOptions2.WrappingPreserveSingleLine); } 303set { SetBooleanOption(CSharpFormattingOptions2.WrappingPreserveSingleLine, value); }
Options\Formatting\WrappingViewModel.cs (1)
40Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.WrappingPreserveSingleLine, CSharpVSResources.Leave_block_on_single_line, s_blockPreview, this, optionStore));