6 references to PreferNotPattern
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\CodeStyle\CSharpAnalyzerOptionsProvider.cs (1)
56
public CodeStyleOption2<bool> PreferNotPattern => GetOption(CSharpCodeStyleOptions.
PreferNotPattern
);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpUseNotPatternDiagnosticAnalyzer.cs (1)
29
CSharpCodeStyleOptions.
PreferNotPattern
,
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
129
yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.
PreferNotPattern
, CSharpVSResources.Prefer_pattern_matching_over_mixed_type_check, options, updater);
Options\AutomationObject\AutomationObject.Style.cs (2)
302
get { return GetXmlOption(CSharpCodeStyleOptions.
PreferNotPattern
); }
303
set { SetXmlOption(CSharpCodeStyleOptions.
PreferNotPattern
, value); }
Options\Formatting\StyleViewModel.cs (1)
2303
CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.
PreferNotPattern
, CSharpVSResources.Prefer_pattern_matching_over_mixed_type_check, s_preferPatternMatchingOverMixedTypeCheck, s_preferPatternMatchingOverMixedTypeCheck, this, optionStore, patternMatchingPreferencesGroupTitle));