21 references to ConditionalOr
Microsoft.CodeAnalysis (2)
Operations\ControlFlowGraphBuilder.cs (2)
2156case BinaryOperatorKind.ConditionalOr: 2273case BinaryOperatorKind.ConditionalOr:
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (4)
31{ BinaryOperatorKind.ConditionalOr, BinaryOperatorKind.ConditionalAnd }, 32{ BinaryOperatorKind.ConditionalAnd, BinaryOperatorKind.ConditionalOr }, 170BinaryOperatorKind.ConditionalOr) 399BinaryOperatorKind.ConditionalOr => generator.LogicalOrExpression(leftOperand, rightOperand),
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (1)
1515(operatorKind == BinaryOperatorKind.ConditionalAnd || operatorKind == BinaryOperatorKind.ConditionalOr) &&
Operations\CSharpOperationFactory_Methods.cs (1)
606return BinaryOperatorKind.ConditionalOr;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
50case IBinaryOperation { OperatorKind: ConditionalOr, Syntax: BinaryExpressionSyntax syntax } op:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (2)
746(false, IBinaryOperation { OperatorKind: BinaryOperatorKind.ConditionalOr } orOp) 817OperatorKind: BinaryOperatorKind.ConditionalOr,
Microsoft.CodeAnalysis.CSharp.Features (3)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
50case IBinaryOperation { OperatorKind: ConditionalOr, Syntax: BinaryExpressionSyntax syntax } op:
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (2)
746(false, IBinaryOperation { OperatorKind: BinaryOperatorKind.ConditionalOr } orOp) 817OperatorKind: BinaryOperatorKind.ConditionalOr,
Microsoft.CodeAnalysis.Features (1)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (1)
199if (operation is IBinaryOperation { OperatorKind: ConditionalOr } op)
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\ControlFlowGraphVerifier.cs (1)
1876return (binary.OperatorKind != Operations.BinaryOperatorKind.ConditionalAnd && binary.OperatorKind != Operations.BinaryOperatorKind.ConditionalOr) ||
Compilation\TestOperationVisitor.cs (1)
772if (binaryOperationKind is BinaryOperatorKind.ConditionalAnd or BinaryOperatorKind.ConditionalOr)
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (4)
31{ BinaryOperatorKind.ConditionalOr, BinaryOperatorKind.ConditionalAnd }, 32{ BinaryOperatorKind.ConditionalAnd, BinaryOperatorKind.ConditionalOr }, 170BinaryOperatorKind.ConditionalOr) 399BinaryOperatorKind.ConditionalOr => generator.LogicalOrExpression(leftOperand, rightOperand),