7 references to PreferReadOnlyStruct
Microsoft.CodeAnalysis.CSharp.Features (2)
CSharpAnalyzerOptionsProvider.cs (1)
100public CodeStyleOption2<bool> PreferReadOnlyStruct => GetOption(CSharpCodeStyleOptions.PreferReadOnlyStruct, FallbackCodeStyleOptions.PreferReadOnlyStruct);
CSharpMakeStructReadOnlyDiagnosticAnalyzer.cs (1)
22CSharpCodeStyleOptions.PreferReadOnlyStruct,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpIdeCodeStyleOptions.cs (1)
114PreferReadOnlyStruct = options.GetOption(CSharpCodeStyleOptions.PreferReadOnlyStruct, fallbackOptions.PreferReadOnlyStruct);
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
87yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferReadOnlyStruct, ServicesVSResources.Prefer_read_only_struct, options, updater);
Options\AutomationObject\AutomationObject.Style.cs (2)
338get { return GetXmlOption(CSharpCodeStyleOptions.PreferReadOnlyStruct); } 339set { SetXmlOption(CSharpCodeStyleOptions.PreferReadOnlyStruct, value); }
Options\Formatting\StyleViewModel.cs (1)
2293CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferReadOnlyStruct, ServicesVSResources.Prefer_read_only_struct, s_preferReadOnlyStruct, s_preferReadOnlyStruct, this, optionStore, modifierGroupTitle));