6 references to PreferObjectInitializer
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\AnalyzerOptionsProvider.cs (1)
42public CodeStyleOption2<bool> PreferObjectInitializer => GetOption(CodeStyleOptions2.PreferObjectInitializer);
src\Analyzers\Core\Analyzers\UseObjectInitializer\AbstractUseObjectInitializerDiagnosticAnalyzer.cs (1)
59(s_descriptor, CodeStyleOptions2.PreferObjectInitializer)
Microsoft.VisualStudio.LanguageServices (1)
EditorConfigSettings\DataProvider\CodeStyle\CommonCodeStyleSettingsProvider.cs (1)
103yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferObjectInitializer, description: ServicesVSResources.Prefer_object_initializer, options, updater);
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Options\AutomationObject\AutomationObject.Style.cs (2)
56get { return GetXmlOption(CodeStyleOptions2.PreferObjectInitializer); } 57set { SetXmlOption(CodeStyleOptions2.PreferObjectInitializer, value); }
Options\Formatting\StyleViewModel.cs (1)
2277CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferObjectInitializer, ServicesVSResources.Prefer_object_initializer, s_preferObjectInitializer, s_preferObjectInitializer, this, optionStore, expressionPreferencesGroupTitle));