8 references to NewLineForMembersInObjectInit
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CSharpSyntaxFormattingOptions.cs (1)
96(options.GetOption(CSharpFormattingOptions2.NewLineForMembersInObjectInit, fallbackOptions.NewLines.HasFlag(NewLinePlacement.BeforeMembersInObjectInitializers)) ? NewLinePlacement.BeforeMembersInObjectInitializers : 0) |
Formatting\CSharpFormattingOptions.cs (2)
182/// <inheritdoc cref="CSharpFormattingOptions2.NewLineForMembersInObjectInit"/> 183public static Option<bool> NewLineForMembersInObjectInit { get; } = CSharpFormattingOptions2.NewLineForMembersInObjectInit.ToPublicOption();
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Formatting\FormattingTests.cs (1)
2233{ CSharpFormattingOptions2.NewLineForMembersInObjectInit, false },
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\Whitespace\CSharpWhitespaceSettingsProvider.cs (1)
95yield return Setting.Create(CSharpFormattingOptions2.NewLineForMembersInObjectInit, CSharpVSResources.Place_members_in_object_initializers_on_new_line, options, updaterService);
Options\AutomationObject\AutomationObject.Formatting.cs (2)
134get { return GetBooleanOption(CSharpFormattingOptions2.NewLineForMembersInObjectInit); } 135set { SetBooleanOption(CSharpFormattingOptions2.NewLineForMembersInObjectInit, value); }
Options\Formatting\NewLinesViewModel.cs (1)
229Items.Add(new CheckBoxOptionViewModel(CSharpFormattingOptions2.NewLineForMembersInObjectInit, CSharpVSResources.Place_members_in_object_initializers_on_new_line, s_objectInitializerPreview, this, optionStore));