8 references to PreferPatternMatching
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzerTests.cs (1)
29{ CSharpCodeStyleOptions.PreferPatternMatching, new CodeStyleOption2<bool>(false, NotificationOption2.None) }
Microsoft.CodeAnalysis.CSharp.Features (2)
CSharpAnalyzerOptionsProvider.cs (1)
76public CodeStyleOption2<bool> PreferPatternMatching => GetOption(CSharpCodeStyleOptions.PreferPatternMatching, FallbackCodeStyleOptions.PreferPatternMatching);
CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
37CSharpCodeStyleOptions.PreferPatternMatching,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpIdeCodeStyleOptions.cs (1)
96PreferPatternMatching = options.GetOption(CSharpCodeStyleOptions.PreferPatternMatching, fallbackOptions.PreferPatternMatching);
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
120yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferPatternMatching, CSharpVSResources.Prefer_pattern_matching, options, updater);
Options\AutomationObject\AutomationObject.Style.cs (2)
140get { return GetXmlOption(CSharpCodeStyleOptions.PreferPatternMatching); } 141set { SetXmlOption(CSharpCodeStyleOptions.PreferPatternMatching, value); }
Options\Formatting\StyleViewModel.cs (1)
2268CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferPatternMatching, CSharpVSResources.Prefer_pattern_matching, s_preferPatternMatching, s_preferPatternMatching, this, optionStore, patternMatchingPreferencesGroupTitle));