7 references to PreferPatternMatchingOverAsWithNullCheck
Microsoft.CodeAnalysis.CSharp.Features (3)
src\Analyzers\CSharp\Analyzers\CodeStyle\CSharpAnalyzerOptionsProvider.cs (1)
54
public CodeStyleOption2<bool> PreferPatternMatchingOverAsWithNullCheck => GetOption(CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndMemberAccessDiagnosticAnalyzer.cs (1)
30
CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
34
CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
,
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
128
yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
, CSharpVSResources.Prefer_pattern_matching_over_as_with_null_check, options, updater);
Options\AutomationObject\AutomationObject.Style.cs (2)
146
get { return GetXmlOption(CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
); }
147
set { SetXmlOption(CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
, value); }
Options\Formatting\StyleViewModel.cs (1)
2302
CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
, CSharpVSResources.Prefer_pattern_matching_over_as_with_null_check, s_preferPatternMatchingOverAsWithNullCheck, s_preferPatternMatchingOverAsWithNullCheck, this, optionStore, patternMatchingPreferencesGroupTitle));