23 references to ConditionalOr
Microsoft.CodeAnalysis (2)
Operations\ControlFlowGraphBuilder.cs (2)
2139case BinaryOperatorKind.ConditionalOr: 2256case BinaryOperatorKind.ConditionalOr:
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
SyntaxGeneratorExtensions_Negate.cs (4)
30{ BinaryOperatorKind.ConditionalOr, BinaryOperatorKind.ConditionalAnd }, 31{ BinaryOperatorKind.ConditionalAnd, BinaryOperatorKind.ConditionalOr }, 187BinaryOperatorKind.ConditionalOr) 371BinaryOperatorKind.ConditionalOr => generator.LogicalOrExpression(leftOperand, rightOperand),
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (1)
1448(operatorKind == BinaryOperatorKind.ConditionalAnd || operatorKind == BinaryOperatorKind.ConditionalOr) &&
Operations\CSharpOperationFactory_Methods.cs (1)
526return BinaryOperatorKind.ConditionalOr;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpUsePatternCombinatorsAnalyzer.cs (1)
50case IBinaryOperation { OperatorKind: ConditionalOr, Syntax: BinaryExpressionSyntax syntax } op:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
ConvertToRecordHelpers.cs (2)
744(false, IBinaryOperation { OperatorKind: BinaryOperatorKind.ConditionalOr } orOp) 815OperatorKind: BinaryOperatorKind.ConditionalOr,
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertToRecordHelpers.cs (2)
744(false, IBinaryOperation { OperatorKind: BinaryOperatorKind.ConditionalOr } orOp) 815OperatorKind: BinaryOperatorKind.ConditionalOr,
CSharpUsePatternCombinatorsAnalyzer.cs (1)
50case IBinaryOperation { OperatorKind: ConditionalOr, Syntax: BinaryExpressionSyntax syntax } op:
Microsoft.CodeAnalysis.Features (1)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (1)
200if (operation is IBinaryOperation { OperatorKind: ConditionalOr } op)
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\ControlFlowGraphVerifier.cs (1)
1901return (binary.OperatorKind != Operations.BinaryOperatorKind.ConditionalAnd && binary.OperatorKind != Operations.BinaryOperatorKind.ConditionalOr) ||
Compilation\TestOperationVisitor.cs (1)
754if (binaryOperationKind is BinaryOperatorKind.ConditionalAnd or BinaryOperatorKind.ConditionalOr)
Microsoft.CodeAnalysis.VisualBasic (2)
Operations\VisualBasicOperationFactory.vb (1)
626Dim operatorKind As BinaryOperatorKind = If(binaryOperatorInfo.OperatorKind = BinaryOperatorKind.And, BinaryOperatorKind.ConditionalAnd, BinaryOperatorKind.ConditionalOr)
Operations\VisualBasicOperationFactory_Methods.vb (1)
656Return BinaryOperatorKind.ConditionalOr
Microsoft.CodeAnalysis.Workspaces (4)
SyntaxGeneratorExtensions_Negate.cs (4)
30{ BinaryOperatorKind.ConditionalOr, BinaryOperatorKind.ConditionalAnd }, 31{ BinaryOperatorKind.ConditionalAnd, BinaryOperatorKind.ConditionalOr }, 187BinaryOperatorKind.ConditionalOr) 371BinaryOperatorKind.ConditionalOr => generator.LogicalOrExpression(leftOperand, rightOperand),