7 references to PreferNullCheckOverTypeCheck
Microsoft.CodeAnalysis.CSharp.Features (2)
CSharpAnalyzerOptionsProvider.cs (1)
69
public CodeStyleOption2<bool> PreferNullCheckOverTypeCheck => GetOption(CSharpCodeStyleOptions.
PreferNullCheckOverTypeCheck
, FallbackCodeStyleOptions.PreferNullCheckOverTypeCheck);
CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (1)
22
CSharpCodeStyleOptions.
PreferNullCheckOverTypeCheck
,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpIdeCodeStyleOptions.cs (1)
89
PreferNullCheckOverTypeCheck = options.GetOption(CSharpCodeStyleOptions.
PreferNullCheckOverTypeCheck
, fallbackOptions.PreferNullCheckOverTypeCheck);
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
81
yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.
PreferNullCheckOverTypeCheck
, CSharpVSResources.Prefer_null_check_over_type_check, options, updater);
Options\AutomationObject\AutomationObject.Style.cs (2)
236
get { return GetXmlOption(CSharpCodeStyleOptions.
PreferNullCheckOverTypeCheck
); }
237
set { SetXmlOption(CSharpCodeStyleOptions.
PreferNullCheckOverTypeCheck
, value); }
Options\Formatting\StyleViewModel.cs (1)
2283
CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.
PreferNullCheckOverTypeCheck
, CSharpVSResources.Prefer_null_check_over_type_check, s_preferNullcheckOverTypeCheck, s_preferNullcheckOverTypeCheck, this, optionStore, nullCheckingGroupTitle));