18 references to And
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (1)
3531/// Kind of binary pattern; either <see cref="BinaryOperatorKind.And" /> or <see cref="BinaryOperatorKind.Or" />.
Operations\ControlFlowGraphBuilder.cs (2)
2539new BinaryOperation(isAndAlso ? BinaryOperatorKind.And : BinaryOperatorKind.Or, 2629new BinaryOperation(isAndAlso ? BinaryOperatorKind.And : BinaryOperatorKind.Or,
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (1)
100BinaryOperatorKind.And => IsDefault(binaryPattern.LeftPattern) && IsDefault(binaryPattern.RightPattern),
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (4)
29{ BinaryOperatorKind.Or, BinaryOperatorKind.And }, 30{ BinaryOperatorKind.And, BinaryOperatorKind.Or }, 168BinaryOperatorKind.And or 398BinaryOperatorKind.And => generator.BitwiseAndExpression(leftOperand, rightOperand),
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (1)
2673boundBinaryPattern.Disjunction ? BinaryOperatorKind.Or : BinaryOperatorKind.And,
Operations\CSharpOperationFactory_Methods.cs (1)
576return BinaryOperatorKind.And;
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (1)
100BinaryOperatorKind.And => IsDefault(binaryPattern.LeftPattern) && IsDefault(binaryPattern.RightPattern),
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\ControlFlowGraphVerifier.cs (2)
947(binOp.OperatorKind == Operations.BinaryOperatorKind.And || binOp.OperatorKind == Operations.BinaryOperatorKind.Or) && 973binOp.OperatorKind == Operations.BinaryOperatorKind.And &&
Compilation\TestOperationVisitor.cs (1)
1389Assert.True(operation.OperatorKind switch { Operations.BinaryOperatorKind.Or => true, Operations.BinaryOperatorKind.And => true, _ => false });
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (4)
29{ BinaryOperatorKind.Or, BinaryOperatorKind.And }, 30{ BinaryOperatorKind.And, BinaryOperatorKind.Or }, 168BinaryOperatorKind.And or 398BinaryOperatorKind.And => generator.BitwiseAndExpression(leftOperand, rightOperand),