8 references to PreferPatternMatchingOverIsWithCastCheck
Microsoft.CodeAnalysis.CSharp.Features (3)
src\Analyzers\CSharp\Analyzers\CodeStyle\CSharpAnalyzerOptionsProvider.cs (1)
55
public CodeStyleOption2<bool> PreferPatternMatchingOverIsWithCastCheck => GetOption(CSharpCodeStyleOptions.
PreferPatternMatchingOverIsWithCastCheck
);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzer.cs (1)
39
CSharpCodeStyleOptions.
PreferPatternMatchingOverIsWithCastCheck
,
UsePatternMatching\CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs (1)
39
CSharpCodeStyleOptions.
PreferPatternMatchingOverIsWithCastCheck
,
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
src\Analyzers\CSharp\Tests\UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzerTests.cs (1)
610
var options = Option(CSharpCodeStyleOptions.
PreferPatternMatchingOverIsWithCastCheck
, warningOption);
Microsoft.VisualStudio.LanguageServices.CSharp (4)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (1)
127
yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.
PreferPatternMatchingOverIsWithCastCheck
, CSharpVSResources.Prefer_pattern_matching_over_is_with_cast_check, options, updater);
Options\AutomationObject\AutomationObject.Style.cs (2)
152
get { return GetXmlOption(CSharpCodeStyleOptions.
PreferPatternMatchingOverIsWithCastCheck
); }
153
set { SetXmlOption(CSharpCodeStyleOptions.
PreferPatternMatchingOverIsWithCastCheck
, value); }
Options\Formatting\StyleViewModel.cs (1)
2301
CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.
PreferPatternMatchingOverIsWithCastCheck
, CSharpVSResources.Prefer_pattern_matching_over_is_with_cast_check, s_preferPatternMatchingOverIsWithCastCheck, s_preferPatternMatchingOverIsWithCastCheck, this, optionStore, patternMatchingPreferencesGroupTitle));