44 references to Or
Microsoft.CodeAnalysis.CSharp (38)
Binder\Binder_Operators.cs (2)
1719case BinaryOperatorKind.Or: 2220case SyntaxKind.BitwiseOrExpression: return BinaryOperatorKind.Or;
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (3)
339case BinaryOperatorKind.Or: 533case BinaryOperatorKind.Or: 625case BinaryOperatorKind.Or:
Binder\Semantics\Operators\OperatorFacts.cs (1)
202case BinaryOperatorKind.Or: return WellKnownMemberNames.BitwiseOrOperatorName;
Binder\Semantics\Operators\OperatorKind.cs (20)
728IntOr = Int | Or, 729UIntOr = UInt | Or, 730LongOr = Long | Or, 731ULongOr = ULong | Or, 732NIntOr = NInt | Or, 733NUIntOr = NUInt | Or, 734EnumOr = Enum | Or, 735BoolOr = Bool | Or, 736UserDefinedOr = UserDefined | Or, 737LiftedIntOr = Lifted | Int | Or, 738LiftedUIntOr = Lifted | UInt | Or, 739LiftedLongOr = Lifted | Long | Or, 740LiftedULongOr = Lifted | ULong | Or, 741LiftedNIntOr = Lifted | NInt | Or, 742LiftedNUIntOr = Lifted | NUInt | Or, 743LiftedEnumOr = Lifted | Enum | Or, 744LiftedBoolOr = Lifted | Bool | Or, 745LiftedUserDefinedOr = Lifted | UserDefined | Or, 746DynamicOr = Dynamic | Or, 748LogicalOr = Or | Logical,
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
351case BinaryOperatorKind.Or: return ExpressionType.OrAssign; 373case BinaryOperatorKind.Or: return ExpressionType.Or;
CodeGen\EmitOperators.cs (3)
240case BinaryOperatorKind.Or: 336case BinaryOperatorKind.Or: 755case BinaryOperatorKind.Or:
Compilation\BuiltInOperators.cs (1)
715case BinaryOperatorKind.Or:
Compilation\CSharpCompilation.cs (1)
4029BinaryOperatorKind.Or or
FlowAnalysis\AbstractFlowPass.cs (1)
2285Debug.Assert(isAnd || op == BinaryOperatorKind.Or);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
402case BinaryOperatorKind.Or: return opKind.IsLogical() ? "OrElse" : "Or";
Lowering\DiagnosticsPass_Warnings.cs (1)
825case BinaryOperatorKind.Or:
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
604Debug.Assert(operatorKind.Operator() == BinaryOperatorKind.And || operatorKind.Operator() == BinaryOperatorKind.Or);
Operations\CSharpOperationFactory_Methods.cs (1)
498case CSharp.BinaryOperatorKind.Or:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\NumericIntPtrTests.cs (1)
1519BinaryOperatorKind.Or,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\NativeIntegerTests.cs (1)
4768BinaryOperatorKind.Or,
Semantics\OperatorTests.cs (4)
7353BinaryOperatorKind.Or, 7749BinaryOperatorKind.Or, 7919BinaryOperatorKind.Or, 8262op == BinaryOperatorKind.Or) &&