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