8 references to PreferPatternMatchingOverAsWithNullCheck
Microsoft.CodeAnalysis.CSharp.Features (3)
CSharpAnalyzerOptionsProvider.cs (1)
77
public CodeStyleOption2<bool> PreferPatternMatchingOverAsWithNullCheck => GetOption(CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
, FallbackCodeStyleOptions.PreferPatternMatchingOverAsWithNullCheck);
CSharpAsAndMemberAccessDiagnosticAnalyzer.cs (1)
32
CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
,
CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
36
CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpIdeCodeStyleOptions.cs (1)
97
PreferPatternMatchingOverAsWithNullCheck = options.GetOption(CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
, fallbackOptions.PreferPatternMatchingOverAsWithNullCheck);
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
122
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)
2270
CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.
PreferPatternMatchingOverAsWithNullCheck
, CSharpVSResources.Prefer_pattern_matching_over_as_with_null_check, s_preferPatternMatchingOverAsWithNullCheck, s_preferPatternMatchingOverAsWithNullCheck, this, optionStore, patternMatchingPreferencesGroupTitle));