23 references to Or
Microsoft.CodeAnalysis (5)
Generated\Operations.Generated.cs (1)
3269/// Kind of binary pattern; either <see cref="BinaryOperatorKind.And" /> or <see cref="BinaryOperatorKind.Or" />.
Operations\ControlFlowGraphBuilder.cs (4)
2522new BinaryOperation(isAndAlso ? BinaryOperatorKind.And : BinaryOperatorKind.Or, 2612new BinaryOperation(isAndAlso ? BinaryOperatorKind.And : BinaryOperatorKind.Or, 5054eitherLimitOrControlVariableIsNull = new BinaryOperation(BinaryOperatorKind.Or, 5236IOperation condition = new BinaryOperation(BinaryOperatorKind.Or,
Microsoft.CodeAnalysis.CodeStyle (2)
PopulateSwitchExpressionHelpers.cs (2)
67if (binaryPattern?.OperatorKind == BinaryOperatorKind.Or) 99BinaryOperatorKind.Or => IsDefault(binaryPattern.LeftPattern) || IsDefault(binaryPattern.RightPattern),
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
SyntaxGeneratorExtensions_Negate.cs (4)
28{ BinaryOperatorKind.Or, BinaryOperatorKind.And }, 29{ BinaryOperatorKind.And, BinaryOperatorKind.Or }, 184if (binaryOperation.OperatorKind is BinaryOperatorKind.Or or 369BinaryOperatorKind.Or => generator.BitwiseOrExpression(leftOperand, rightOperand),
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (1)
2529boundBinaryPattern.Disjunction ? BinaryOperatorKind.Or : BinaryOperatorKind.And,
Operations\CSharpOperationFactory_Methods.cs (1)
499return BinaryOperatorKind.Or;
Microsoft.CodeAnalysis.Features (2)
PopulateSwitchExpressionHelpers.cs (2)
67if (binaryPattern?.OperatorKind == BinaryOperatorKind.Or) 99BinaryOperatorKind.Or => IsDefault(binaryPattern.LeftPattern) || IsDefault(binaryPattern.RightPattern),
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\ControlFlowGraphVerifier.cs (2)
985(binOp.OperatorKind == Operations.BinaryOperatorKind.And || binOp.OperatorKind == Operations.BinaryOperatorKind.Or) && 1018binOp.OperatorKind == Operations.BinaryOperatorKind.Or &&
Compilation\TestOperationVisitor.cs (1)
1371Assert.True(operation.OperatorKind switch { Operations.BinaryOperatorKind.Or => true, Operations.BinaryOperatorKind.And => true, _ => false });
Microsoft.CodeAnalysis.VisualBasic (1)
Operations\VisualBasicOperationFactory_Methods.vb (1)
650Return BinaryOperatorKind.Or
Microsoft.CodeAnalysis.Workspaces (4)
SyntaxGeneratorExtensions_Negate.cs (4)
28{ BinaryOperatorKind.Or, BinaryOperatorKind.And }, 29{ BinaryOperatorKind.And, BinaryOperatorKind.Or }, 184if (binaryOperation.OperatorKind is BinaryOperatorKind.Or or 369BinaryOperatorKind.Or => generator.BitwiseOrExpression(leftOperand, rightOperand),