8 references to NewLineForMembersInAnonymousTypes
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
97
(options.GetOption(CSharpFormattingOptions2.
NewLineForMembersInAnonymousTypes
, fallbackOptions.NewLines.HasFlag(NewLinePlacement.BeforeMembersInAnonymousTypes)) ? NewLinePlacement.BeforeMembersInAnonymousTypes : 0) |
Formatting\CSharpFormattingOptions.cs (2)
185
/// <inheritdoc cref="CSharpFormattingOptions2.
NewLineForMembersInAnonymousTypes
"/>
186
public static Option<bool> NewLineForMembersInAnonymousTypes { get; } = CSharpFormattingOptions2.
NewLineForMembersInAnonymousTypes
.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Formatting\FormattingTests.cs (1)
2234
{ CSharpFormattingOptions2.
NewLineForMembersInAnonymousTypes
, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
96
yield return Setting.Create(CSharpFormattingOptions2.
NewLineForMembersInAnonymousTypes
, CSharpVSResources.Place_members_in_anonymous_types_on_new_line, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
56
get { return GetBooleanOption(CSharpFormattingOptions2.
NewLineForMembersInAnonymousTypes
); }
57
set { SetBooleanOption(CSharpFormattingOptions2.
NewLineForMembersInAnonymousTypes
, value); }
Options\Formatting\NewLinesViewModel.cs (1)
230
Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.
NewLineForMembersInAnonymousTypes
, CSharpVSResources.Place_members_in_anonymous_types_on_new_line, s_anonymousTypePreview, this, optionStore));