20 references to And
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (1)
3269/// Kind of binary pattern; either <see cref="BinaryOperatorKind.And" /> or <see cref="BinaryOperatorKind.Or" />.
Operations\ControlFlowGraphBuilder.cs (2)
2522new BinaryOperation(isAndAlso ? BinaryOperatorKind.And : BinaryOperatorKind.Or, 2612new BinaryOperation(isAndAlso ? BinaryOperatorKind.And : BinaryOperatorKind.Or,
Microsoft.CodeAnalysis.CodeStyle (1)
PopulateSwitchExpressionHelpers.cs (1)
101BinaryOperatorKind.And => 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 }, 185BinaryOperatorKind.And or 370BinaryOperatorKind.And => generator.BitwiseAndExpression(leftOperand, rightOperand),
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (1)
2529boundBinaryPattern.Disjunction ? BinaryOperatorKind.Or : BinaryOperatorKind.And,
Operations\CSharpOperationFactory_Methods.cs (1)
496return BinaryOperatorKind.And;
Microsoft.CodeAnalysis.Features (1)
PopulateSwitchExpressionHelpers.cs (1)
101BinaryOperatorKind.And => 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) && 1011binOp.OperatorKind == Operations.BinaryOperatorKind.And &&
Compilation\TestOperationVisitor.cs (1)
1371Assert.True(operation.OperatorKind switch { Operations.BinaryOperatorKind.Or => true, Operations.BinaryOperatorKind.And => true, _ => false });
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)
648Return BinaryOperatorKind.And
Microsoft.CodeAnalysis.Workspaces (4)
SyntaxGeneratorExtensions_Negate.cs (4)
28{ BinaryOperatorKind.Or, BinaryOperatorKind.And }, 29{ BinaryOperatorKind.And, BinaryOperatorKind.Or }, 185BinaryOperatorKind.And or 370BinaryOperatorKind.And => generator.BitwiseAndExpression(leftOperand, rightOperand),