51 references to And
Microsoft.CodeAnalysis.CSharp (45)
Binder\Binder_Operators.cs (2)
1718case BinaryOperatorKind.And: 2218case SyntaxKind.BitwiseAndExpression: return BinaryOperatorKind.And;
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (3)
338case BinaryOperatorKind.And: 532case BinaryOperatorKind.And: 624case BinaryOperatorKind.And:
Binder\Semantics\Operators\OperatorFacts.cs (1)
193case BinaryOperatorKind.And: return WellKnownMemberNames.BitwiseAndOperatorName;
Binder\Semantics\Operators\OperatorKind.cs (20)
703IntAnd = Int | And, 704UIntAnd = UInt | And, 705LongAnd = Long | And, 706ULongAnd = ULong | And, 707NIntAnd = NInt | And, 708NUIntAnd = NUInt | And, 709EnumAnd = Enum | And, 710BoolAnd = Bool | And, 711UserDefinedAnd = UserDefined | And, 712LiftedIntAnd = Lifted | Int | And, 713LiftedUIntAnd = Lifted | UInt | And, 714LiftedLongAnd = Lifted | Long | And, 715LiftedULongAnd = Lifted | ULong | And, 716LiftedNIntAnd = Lifted | NInt | And, 717LiftedNUIntAnd = Lifted | NUInt | And, 718LiftedEnumAnd = Lifted | Enum | And, 719LiftedBoolAnd = Lifted | Bool | And, 720LiftedUserDefinedAnd = Lifted | UserDefined | And, 721DynamicAnd = Dynamic | And, 723LogicalAnd = And | Logical,
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
349case BinaryOperatorKind.And: return ExpressionType.AndAssign; 371case BinaryOperatorKind.And: return ExpressionType.And;
CodeGen\EmitOperators.cs (3)
232case BinaryOperatorKind.And: 330case BinaryOperatorKind.And: 754case BinaryOperatorKind.And:
Compilation\BuiltInOperators.cs (1)
714case BinaryOperatorKind.And:
Compilation\CSharpCompilation.cs (1)
4028if (binaryKind is BinaryOperatorKind.And or
FlowAnalysis\AbstractFlowPass.cs (1)
2282var isAnd = op == BinaryOperatorKind.And;
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
400case BinaryOperatorKind.And: return opKind.IsLogical() ? "AndAlso" : "And";
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
643var unary = node.OperatorKind.Operator() == BinaryOperatorKind.And ? node.FalseOperator : node.TrueOperator;
Lowering\DiagnosticsPass_Warnings.cs (1)
826case BinaryOperatorKind.And:
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (5)
87operatorKind.Operator() == BinaryOperatorKind.And ? node.FalseOperator : node.TrueOperator, boundTemp); 604Debug.Assert(operatorKind.Operator() == BinaryOperatorKind.And || operatorKind.Operator() == BinaryOperatorKind.Or); 615bool isAnd = operatorKind.Operator() == BinaryOperatorKind.And; 2073BinaryOperatorKind andOperatorKind = (operatorKind & ~BinaryOperatorKind.OpMask) | BinaryOperatorKind.And; 2151BinaryOperatorKind andOperatorKind = (operatorKind & ~BinaryOperatorKind.OpMask) | BinaryOperatorKind.And;
Operations\CSharpOperationFactory.cs (2)
1420IMethodSymbol unaryOperatorMethod = boundBinaryOperator.OperatorKind.Operator() == CSharp.BinaryOperatorKind.And ? 1431GetConstrainedToTypeForOperator(boundBinaryOperator.OperatorKind.Operator() == CSharp.BinaryOperatorKind.And ?
Operations\CSharpOperationFactory_Methods.cs (1)
495case CSharp.BinaryOperatorKind.And:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\NumericIntPtrTests.cs (1)
1520BinaryOperatorKind.And,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\NativeIntegerTests.cs (1)
4769BinaryOperatorKind.And,
Semantics\OperatorTests.cs (4)
7354BinaryOperatorKind.And, 7750BinaryOperatorKind.And, 7920BinaryOperatorKind.And, 8261op == BinaryOperatorKind.And ||