6 references to IsDefault
Microsoft.CodeAnalysis.CodeStyle (6)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (5)
86
=>
IsDefault
(arm.Pattern);
98
BinaryOperatorKind.Or =>
IsDefault
(binaryPattern.LeftPattern) ||
IsDefault
(binaryPattern.RightPattern),
100
BinaryOperatorKind.And =>
IsDefault
(binaryPattern.LeftPattern) &&
IsDefault
(binaryPattern.RightPattern),
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (1)
39
if (PopulateSwitchExpressionHelpers.
IsDefault
(patternCaseClause.Pattern))