76 references to OpMask
Microsoft.CodeAnalysis.VisualBasic (76)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
2162Select Case binary.OperatorKind And BinaryOperatorKind.OpMask 2171Select Case binary.OperatorKind And BinaryOperatorKind.OpMask 2202Select Case binary.OperatorKind And BinaryOperatorKind.OpMask
Binding\Binder_Operators.vb (3)
510If (operatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.Add AndAlso operatorResultType.IsStringType() Then 512operatorKind = (operatorKind And (Not BinaryOperatorKind.OpMask)) 1011Debug.Assert((operatorKind And BinaryOperatorKind.OpMask) = operatorKind AndAlso operatorKind <> 0)
BoundTree\BoundBinaryOperator.vb (5)
32(OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.LeftShift OrElse 33(OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.RightShift OrElse 34(OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.Is OrElse 35(OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.IsNot) 42Dim op As BinaryOperatorKind = (OperatorKind And BinaryOperatorKind.OpMask)
BoundTree\BoundCaseClause.vb (2)
17Debug.Assert((binaryOp.OperatorKind And BinaryOperatorKind.OpMask) = operatorKind) 21Debug.Assert((binaryOp.OperatorKind And BinaryOperatorKind.OpMask) = operatorKind)
BoundTree\BoundUserDefinedBinaryOperator.vb (2)
36Debug.Assert((OperatorKind And BinaryOperatorKind.OpMask) <> BinaryOperatorKind.AndAlso) 37Debug.Assert((OperatorKind And BinaryOperatorKind.OpMask) <> BinaryOperatorKind.OrElse)
CodeGen\EmitConversion.vb (1)
118Select Case (DirectCast(conversion.Operand, BoundBinaryOperator).OperatorKind And BinaryOperatorKind.OpMask)
CodeGen\EmitOperators.vb (8)
98Dim operationKind = expression.OperatorKind And BinaryOperatorKind.OpMask 117Select Case (operationKind And BinaryOperatorKind.OpMask) 137Select Case operationKind And BinaryOperatorKind.OpMask 195Select Case (binary.OperatorKind And BinaryOperatorKind.OpMask) 216Select Case (expression.OperatorKind And BinaryOperatorKind.OpMask) 238Dim type = expression.OperatorKind And BinaryOperatorKind.OpMask 266Dim opKind = expression.OperatorKind And BinaryOperatorKind.OpMask 432Dim opKind = (binOp.OperatorKind And BinaryOperatorKind.OpMask)
CodeGen\EmitStatement.vb (3)
496Dim opKind = condition.OperatorKind And BinaryOperatorKind.OpMask 564Dim opKind = (expression.OperatorKind And BinaryOperatorKind.OpMask) 696Select Case binOp.OperatorKind And BinaryOperatorKind.OpMask
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
938Select Case (binary.OperatorKind And BinaryOperatorKind.OpMask) 976Select Case (node.OperatorKind And BinaryOperatorKind.OpMask)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
240Dim operatorKind As BinaryOperatorKind = rewritten.OperatorKind And BinaryOperatorKind.OpMask
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
88Dim opKind As BinaryOperatorKind = node.OperatorKind And BinaryOperatorKind.OpMask
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (14)
14Select Case node.OperatorKind And BinaryOperatorKind.OpMask 54Dim opKind As BinaryOperatorKind = node.OperatorKind And BinaryOperatorKind.OpMask 93Select Case opKind And BinaryOperatorKind.OpMask 120Select Case opKind And BinaryOperatorKind.OpMask 168Dim opKind As BinaryOperatorKind = operand.OperatorKind And BinaryOperatorKind.OpMask 205Dim opKind = node.OperatorKind And BinaryOperatorKind.OpMask 339Dim opKind = node.OperatorKind And BinaryOperatorKind.OpMask 389Dim opKind = node.OperatorKind And BinaryOperatorKind.OpMask 470Select Case opKind And BinaryOperatorKind.OpMask 620opKind = opKind And BinaryOperatorKind.OpMask 657opKind = opKind And BinaryOperatorKind.OpMask 684opKind = opKind And BinaryOperatorKind.OpMask 741Debug.Assert((opKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.Like OrElse 742(opKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.Concatenate)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
368Select Case (binaryOperator.OperatorKind And BinaryOperatorKind.OpMask)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (18)
100Select Case (binary.OperatorKind And BinaryOperatorKind.OpMask) 141If optimizeForConditionalBranch AndAlso (binary.OperatorKind And BinaryOperatorKind.OpMask) <> BinaryOperatorKind.OrElse Then 142Debug.Assert((binary.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.AndAlso) 233Select Case (opKind And BinaryOperatorKind.OpMask) 489node.OperatorKind And BinaryOperatorKind.OpMask, 528node.OperatorKind And BinaryOperatorKind.OpMask, 603Dim op = New BoundBinaryOperator(node.Syntax, node.OperatorKind And BinaryOperatorKind.OpMask, left, right, False, left.Type) 704result = New BoundBinaryOperator(node.Syntax, (node.OperatorKind And BinaryOperatorKind.OpMask), 804(node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.OrElse OrElse 805(node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.AndAlso) 818(leftHasValue OrElse Not Me._inExpressionLambda OrElse (node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.OrElse) Then 847Select Case (node.OperatorKind And BinaryOperatorKind.OpMask) 953Debug.Assert(leftHasValue OrElse Not Me._inExpressionLambda OrElse (node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.OrElse) 962If (node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.OrElse Then 971Debug.Assert((node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.AndAlso) 1025Debug.Assert(leftHasValue OrElse (node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.OrElse) 1070Dim op = node.OperatorKind And BinaryOperatorKind.OpMask 1317Return RewriteNullableIsOrIsNotOperator((node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.Is, If(left.IsNothingLiteral, right, left), node.Type)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
82Select Case binary.OperatorKind And BinaryOperatorKind.OpMask
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (1)
47Select Case (binary.OperatorKind And BinaryOperatorKind.OpMask)
Operations\VisualBasicOperationFactory_Methods.vb (1)
634Select Case operatorKind And VisualBasic.BinaryOperatorKind.OpMask
Semantics\Operators.vb (9)
219Select Case (op And BinaryOperatorKind.OpMask) 863Debug.Assert((opCode And BinaryOperatorKind.OpMask) = opCode AndAlso opCode <> BinaryOperatorKind.Error) 865opCode = (opCode And BinaryOperatorKind.OpMask) 1049Dim op As BinaryOperatorKind = (operatorKind And BinaryOperatorKind.OpMask) 1129Debug.Assert((op And BinaryOperatorKind.OpMask) = op) 1302Debug.Assert((op And BinaryOperatorKind.OpMask) = op) 1424Debug.Assert((op And BinaryOperatorKind.OpMask) = op) 1510Debug.Assert((op And BinaryOperatorKind.OpMask) = op) 1581Debug.Assert((op And BinaryOperatorKind.OpMask) = op)