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)
76
public CodeStyleOption2<bool> PreferPatternMatching => GetOption(CSharpCodeStyleOptions.
PreferPatternMatching
, FallbackCodeStyleOptions.PreferPatternMatching);
CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
37
CSharpCodeStyleOptions.
PreferPatternMatching
,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpIdeCodeStyleOptions.cs (1)
96
PreferPatternMatching = options.GetOption(CSharpCodeStyleOptions.
PreferPatternMatching
, fallbackOptions.PreferPatternMatching);
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
120
yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.
PreferPatternMatching
, CSharpVSResources.Prefer_pattern_matching, options, updater);
Options\AutomationObject\AutomationObject.Style.cs (2)
140
get { return GetXmlOption(CSharpCodeStyleOptions.
PreferPatternMatching
); }
141
set { SetXmlOption(CSharpCodeStyleOptions.
PreferPatternMatching
, value); }
Options\Formatting\StyleViewModel.cs (1)
2268
CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.
PreferPatternMatching
, CSharpVSResources.Prefer_pattern_matching, s_preferPatternMatching, s_preferPatternMatching, this, optionStore, patternMatchingPreferencesGroupTitle));