24 references to CodeStylePreference
Microsoft.VisualStudio.LanguageServices.CSharp (18)
Options\Formatting\StyleViewModel.cs (18)
2230new CodeStylePreference(CSharpVSResources.Inside_namespace, isChecked: false), 2231new CodeStylePreference(CSharpEditorResources.Outside_namespace, isChecked: false), 2236new CodeStylePreference(CSharpVSResources.Prefer_this, isChecked: true), 2237new CodeStylePreference(CSharpVSResources.Do_not_prefer_this, isChecked: false), 2242new CodeStylePreference(ServicesVSResources.Prefer_predefined_type, isChecked: true), 2243new CodeStylePreference(ServicesVSResources.Prefer_framework_type, isChecked: false), 2248new CodeStylePreference(CSharpVSResources.Prefer_var, isChecked: true), 2249new CodeStylePreference(CSharpVSResources.Prefer_explicit_type, isChecked: false), 2373new CodeStylePreference(EditorFeaturesResources.Yes, isChecked: false), 2374new CodeStylePreference(EditorFeaturesResources.No, isChecked: false), 2375new CodeStylePreference(CSharpVSResources.When_on_multiple_lines, isChecked: false), 2392new CodeStylePreference(CSharpVSResources.Block_scoped, isChecked: false), 2393new CodeStylePreference(CSharpVSResources.File_scoped, isChecked: false), 2410new CodeStylePreference(ServicesVSResources.Never, isChecked: false), 2411new CodeStylePreference(CSharpVSResources.When_possible, isChecked: false), 2412new CodeStylePreference(CSharpVSResources.When_on_single_line, isChecked: false), 2478new CodeStylePreference(ServicesVSResources.Unused_local, isChecked: false), 2479new CodeStylePreference(CSharpVSResources.Discard, isChecked: true),
Microsoft.VisualStudio.LanguageServices.Implementation (6)
Options\AbstractOptionPreviewViewModel.cs (4)
220codeStylePreferences.Add(new CodeStylePreference(ServicesVSResources.Always_for_clarity, isChecked: defaultAddForClarity)); 223codeStylePreferences.Add(new CodeStylePreference( 237new CodeStylePreference(ServicesVSResources.Non_public_methods, isChecked: false), 238new CodeStylePreference(ServicesVSResources.All_methods, isChecked: true),
Options\Style\AbstractCodeStyleOptionViewModel.cs (2)
82new CodeStylePreference(EditorFeaturesResources.Yes, isChecked: true), 83new CodeStylePreference(EditorFeaturesResources.No, isChecked: false),