1018 references to BinaryOperatorKind
Microsoft.CodeAnalysis.VisualBasic (1018)
Analysis\FlowAnalysis\AbstractFlowPass.vb (9)
2162
Select Case binary.OperatorKind And
BinaryOperatorKind
.OpMask
2163
Case
BinaryOperatorKind
.AndAlso,
2164
BinaryOperatorKind
.OrElse
2171
Select Case binary.OperatorKind And
BinaryOperatorKind
.OpMask
2172
Case
BinaryOperatorKind
.AndAlso
2182
Case
BinaryOperatorKind
.OrElse
2202
Select Case binary.OperatorKind And
BinaryOperatorKind
.OpMask
2203
Case
BinaryOperatorKind
.AndAlso,
2204
BinaryOperatorKind
.OrElse
Binding\Binder_Expressions.vb (2)
4421
Dim value = OverloadResolution.TryFoldConstantBinaryOperator(
BinaryOperatorKind
.Add, upperBound, one, int32Type, integerOverflow, divideByZero, Nothing)
4433
BinaryOperatorKind
.Add,
Binding\Binder_Operators.vb (98)
78
If([isNot],
BinaryOperatorKind
.IsNot,
BinaryOperatorKind
.Is),
160
Dim preliminaryOperatorKind As
BinaryOperatorKind
= OverloadResolution.MapBinaryOperatorKind(node.Kind)
162
(preliminaryOperatorKind =
BinaryOperatorKind
.AndAlso OrElse
163
preliminaryOperatorKind =
BinaryOperatorKind
.OrElse)
231
preliminaryOperatorKind As
BinaryOperatorKind
,
268
If (preliminaryOperatorKind =
BinaryOperatorKind
.Concatenate AndAlso leftIsDBNull <> rightIsDBNull) OrElse
269
(preliminaryOperatorKind =
BinaryOperatorKind
.Add AndAlso
289
Dim operatorKind As
BinaryOperatorKind
= OverloadResolution.ResolveBinaryOperator(preliminaryOperatorKind, left, right, Me,
300
If operatorKind =
BinaryOperatorKind
.UserDefined Then
310
If preliminaryOperatorKind =
BinaryOperatorKind
.AndAlso OrElse preliminaryOperatorKind =
BinaryOperatorKind
.OrElse Then
319
operatorKind =
BinaryOperatorKind
.Error
322
If operatorKind =
BinaryOperatorKind
.Error Then
325
Return New BoundBinaryOperator(node, preliminaryOperatorKind Or
BinaryOperatorKind
.Error, left, right, CheckOverflow, ErrorTypeSymbol.UnknownResultType, hasErrors:=True)
338
If (operatorKind And
BinaryOperatorKind
.Lifted) = 0 OrElse leftType.IsNullableType() Then
347
(operatorKind And
BinaryOperatorKind
.Lifted) <> 0, diagnostics)
357
Case
BinaryOperatorKind
.Equals,
358
BinaryOperatorKind
.NotEquals,
359
BinaryOperatorKind
.LessThanOrEqual,
360
BinaryOperatorKind
.GreaterThanOrEqual,
361
BinaryOperatorKind
.LessThan,
362
BinaryOperatorKind
.GreaterThan,
363
BinaryOperatorKind
.Like
366
operatorKind = operatorKind Or
BinaryOperatorKind
.CompareText
370
(isOperandOfConditionalBranch AndAlso preliminaryOperatorKind <>
BinaryOperatorKind
.Like) Then
375
If (operatorKind And
BinaryOperatorKind
.Lifted) <> 0 Then
379
If (preliminaryOperatorKind =
BinaryOperatorKind
.Equals OrElse preliminaryOperatorKind =
BinaryOperatorKind
.NotEquals) AndAlso
384
If(preliminaryOperatorKind =
BinaryOperatorKind
.Equals,
392
Debug.Assert(isOperandOfConditionalBranch AndAlso preliminaryOperatorKind <>
BinaryOperatorKind
.Like)
433
If Not isSelectCase OrElse preliminaryOperatorKind <>
BinaryOperatorKind
.OrElse Then
435
If(preliminaryOperatorKind =
BinaryOperatorKind
.Equals, ERRID.WRN_ObjectMath1,
436
If(preliminaryOperatorKind =
BinaryOperatorKind
.NotEquals, ERRID.WRN_ObjectMath1Not, ERRID.WRN_ObjectMath2)))
454
If preliminaryOperatorKind =
BinaryOperatorKind
.Concatenate Then
457
Debug.Assert((operatorKind And
BinaryOperatorKind
.Lifted) = 0)
481
If (preliminaryOperatorKind =
BinaryOperatorKind
.LeftShift OrElse preliminaryOperatorKind =
BinaryOperatorKind
.RightShift) AndAlso
491
If (operatorKind And
BinaryOperatorKind
.Lifted) <> 0 Then
510
If (operatorKind And
BinaryOperatorKind
.OpMask) =
BinaryOperatorKind
.Add AndAlso operatorResultType.IsStringType() Then
512
operatorKind = (operatorKind And (Not
BinaryOperatorKind
.OpMask))
513
operatorKind = operatorKind Or
BinaryOperatorKind
.Concatenate
551
Dim result As BoundExpression = New BoundBinaryOperator(node, operatorKind Or If(isOperandOfConditionalBranch,
BinaryOperatorKind
.IsOperandOfConditionalBranch, Nothing),
587
opKind As
BinaryOperatorKind
,
595
opKind = opKind Or
BinaryOperatorKind
.UserDefined
614
opKind = opKind Or
BinaryOperatorKind
.Lifted
653
opKind As
BinaryOperatorKind
,
659
Debug.Assert(opKind =
BinaryOperatorKind
.AndAlso OrElse opKind =
BinaryOperatorKind
.OrElse)
662
Dim bitwiseKind As
BinaryOperatorKind
= If(opKind =
BinaryOperatorKind
.AndAlso,
BinaryOperatorKind
.And,
BinaryOperatorKind
.Or) Or
BinaryOperatorKind
.UserDefined
684
bitwiseKind = bitwiseKind Or
BinaryOperatorKind
.Lifted
692
SyntaxFacts.GetText(If(opKind =
BinaryOperatorKind
.AndAlso,
708
If opKind =
BinaryOperatorKind
.AndAlso Then
722
SyntaxFacts.GetText(If(opKind =
BinaryOperatorKind
.AndAlso, SyntaxKind.IsFalseKeyword, SyntaxKind.IsTrueKeyword)),
723
SyntaxFacts.GetText(If(opKind =
BinaryOperatorKind
.AndAlso, SyntaxKind.AndAlsoKeyword, SyntaxKind.OrElseKeyword)))
737
SyntaxFacts.GetText(If(opKind =
BinaryOperatorKind
.AndAlso, SyntaxKind.AndAlsoKeyword, SyntaxKind.OrElseKeyword)),
768
If(opKind =
BinaryOperatorKind
.AndAlso,
798
preliminaryOperatorKind As
BinaryOperatorKind
,
803
If(preliminaryOperatorKind =
BinaryOperatorKind
.Equals OrElse preliminaryOperatorKind =
BinaryOperatorKind
.NotEquals,
964
operatorKind As
BinaryOperatorKind
,
981
(operatorKind =
BinaryOperatorKind
.Equals OrElse operatorKind =
BinaryOperatorKind
.NotEquals) AndAlso
1006
operatorKind As
BinaryOperatorKind
,
1011
Debug.Assert((operatorKind And
BinaryOperatorKind
.OpMask) = operatorKind AndAlso operatorKind <> 0)
1023
Case
BinaryOperatorKind
.Concatenate,
1024
BinaryOperatorKind
.Like
1027
Case
BinaryOperatorKind
.OrElse,
1028
BinaryOperatorKind
.AndAlso
1031
Case
BinaryOperatorKind
.Add,
1032
BinaryOperatorKind
.Equals,
1033
BinaryOperatorKind
.NotEquals,
1034
BinaryOperatorKind
.LessThanOrEqual,
1035
BinaryOperatorKind
.GreaterThanOrEqual,
1036
BinaryOperatorKind
.LessThan,
1037
BinaryOperatorKind
.GreaterThan,
1038
BinaryOperatorKind
.Subtract,
1039
BinaryOperatorKind
.Multiply,
1040
BinaryOperatorKind
.Power,
1041
BinaryOperatorKind
.Divide,
1042
BinaryOperatorKind
.Modulo,
1043
BinaryOperatorKind
.IntegerDivide,
1044
BinaryOperatorKind
.LeftShift,
1045
BinaryOperatorKind
.RightShift,
1046
BinaryOperatorKind
.Xor,
1047
BinaryOperatorKind
.Or,
1048
BinaryOperatorKind
.And
1071
Case
BinaryOperatorKind
.Concatenate,
1072
BinaryOperatorKind
.Like
1085
Case
BinaryOperatorKind
.LeftShift,
1086
BinaryOperatorKind
.RightShift
1111
Case
BinaryOperatorKind
.Concatenate,
1112
BinaryOperatorKind
.Like
Binding\Binder_Query.vb (6)
3473
Dim operatorKind As
BinaryOperatorKind
= OverloadResolution.ResolveBinaryOperator(
BinaryOperatorKind
.Equals,
3481
If (operatorKind And
BinaryOperatorKind
.Equals) <> 0 AndAlso
3482
(operatorKind And Not (
BinaryOperatorKind
.Equals Or
BinaryOperatorKind
.Lifted)) = 0 AndAlso
3488
(operatorKind And
BinaryOperatorKind
.Lifted) <> 0, diagnostics)
Binding\Binder_SelectCase.vb (17)
210
Dim operatorKind As
BinaryOperatorKind
212
Case SyntaxKind.CaseEqualsClause : operatorKind =
BinaryOperatorKind
.Equals
213
Case SyntaxKind.CaseNotEqualsClause : operatorKind =
BinaryOperatorKind
.NotEquals
214
Case SyntaxKind.CaseLessThanOrEqualClause : operatorKind =
BinaryOperatorKind
.LessThanOrEqual
215
Case SyntaxKind.CaseGreaterThanOrEqualClause : operatorKind =
BinaryOperatorKind
.GreaterThanOrEqual
216
Case SyntaxKind.CaseLessThanClause : operatorKind =
BinaryOperatorKind
.LessThan
217
Case SyntaxKind.CaseGreaterThanClause : operatorKind =
BinaryOperatorKind
.GreaterThan
260
operatorKind:=
BinaryOperatorKind
.Equals,
292
operatorKind:=
BinaryOperatorKind
.GreaterThanOrEqual,
304
operatorKind:=
BinaryOperatorKind
.LessThanOrEqual,
317
operatorKind As
BinaryOperatorKind
,
426
preliminaryOperatorKind:=
BinaryOperatorKind
.OrElse,
496
preliminaryOperatorKind:=
BinaryOperatorKind
.Equals,
517
preliminaryOperatorKind:=
BinaryOperatorKind
.GreaterThanOrEqual,
533
preliminaryOperatorKind:=
BinaryOperatorKind
.LessThanOrEqual,
544
preliminaryOperatorKind:=
BinaryOperatorKind
.AndAlso,
595
relationalClause.OperatorKind <>
BinaryOperatorKind
.Equals OrElse
Binding\Binder_Statements.vb (22)
2028
operatorKind As
BinaryOperatorKind
,
2156
Dim operatorKind As
BinaryOperatorKind
2161
operatorKind =
BinaryOperatorKind
.Add
2164
operatorKind =
BinaryOperatorKind
.Subtract
2167
operatorKind =
BinaryOperatorKind
.Multiply
2170
operatorKind =
BinaryOperatorKind
.Divide
2173
operatorKind =
BinaryOperatorKind
.IntegerDivide
2176
operatorKind =
BinaryOperatorKind
.Power
2179
operatorKind =
BinaryOperatorKind
.LeftShift
2182
operatorKind =
BinaryOperatorKind
.RightShift
2185
operatorKind =
BinaryOperatorKind
.Concatenate
3207
Dim addition As BoundUserDefinedBinaryOperator = BindForLoopUserDefinedOperator(syntax,
BinaryOperatorKind
.Add, leftOperandPlaceholder, rightOperandPlaceholder, diagnostics)
3208
Dim subtraction As BoundUserDefinedBinaryOperator = BindForLoopUserDefinedOperator(syntax,
BinaryOperatorKind
.Subtract, leftOperandPlaceholder, rightOperandPlaceholder, diagnostics)
3210
Dim lessThanOrEqual As BoundExpression = BindForLoopUserDefinedOperator(syntax,
BinaryOperatorKind
.LessThanOrEqual, leftOperandPlaceholder, rightOperandPlaceholder, diagnostics)
3216
Dim greaterThanOrEqual As BoundExpression = BindForLoopUserDefinedOperator(syntax,
BinaryOperatorKind
.GreaterThanOrEqual, leftOperandPlaceholder, rightOperandPlaceholder, diagnostics)
3271
opCode As
BinaryOperatorKind
,
3277
Debug.Assert(opCode =
BinaryOperatorKind
.Add OrElse opCode =
BinaryOperatorKind
.Subtract OrElse opCode =
BinaryOperatorKind
.LessThanOrEqual OrElse opCode =
BinaryOperatorKind
.GreaterThanOrEqual)
3279
Dim isRelational As Boolean = (opCode =
BinaryOperatorKind
.LessThanOrEqual OrElse opCode =
BinaryOperatorKind
.GreaterThanOrEqual)
Binding\DocumentationCommentCrefBinder.vb (21)
927
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Add)
936
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Subtract)
942
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Multiply)
948
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Divide)
954
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.IntegerDivide)
960
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Modulo)
966
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Power)
972
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Equals)
978
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.NotEquals)
984
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.LessThan)
990
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.GreaterThan)
996
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.LessThanOrEqual)
1002
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.GreaterThanOrEqual)
1008
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Like)
1014
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Concatenate)
1020
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.And)
1029
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Or)
1038
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.Xor)
1044
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.LeftShift)
1053
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.RightShift)
1062
Dim opInfo As New OverloadResolution.OperatorInfo(
BinaryOperatorKind
.RightShift)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (7)
141
expression = New BoundBinaryOperator(syntax,
BinaryOperatorKind
.Multiply,
145
Dim boundCondition = New BoundBinaryOperator(syntax,
BinaryOperatorKind
.Is,
170
expression = New BoundBinaryOperator(syntax,
BinaryOperatorKind
.Add, expression,
310
If(reverse,
BinaryOperatorKind
.IsNot,
BinaryOperatorKind
.Is),
315
Return New BoundBinaryOperator(Syntax,
BinaryOperatorKind
.AndAlso,
320
Return New BoundBinaryOperator(Syntax,
BinaryOperatorKind
.OrElse,
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (2)
261
BinaryOperatorKind
.IsNot,
341
BinaryOperatorKind
.IsNot,
Binding\SyntheticBoundTrees\SynthesizedStringSwitchHashMethod.vb (5)
98
F.Binary(
BinaryOperatorKind
.IsNot, Me.ContainingAssembly.GetSpecialType(SpecialType.System_Boolean),
107
F.Binary(
BinaryOperatorKind
.Multiply, hashCode.Type,
108
F.Binary(
BinaryOperatorKind
.Xor, hashCode.Type,
114
F.Binary(
BinaryOperatorKind
.Add, i.Type,
119
F.Binary(
BinaryOperatorKind
.LessThan, Me.ContainingAssembly.GetSpecialType(SpecialType.System_Boolean),
BoundTree\BoundBinaryOperator.vb (16)
15
operatorKind As
BinaryOperatorKind
,
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)
41
If (OperatorKind And
BinaryOperatorKind
.Error) = 0 Then
42
Dim op As
BinaryOperatorKind
= (OperatorKind And
BinaryOperatorKind
.OpMask)
47
(op =
BinaryOperatorKind
.Multiply OrElse
48
op =
BinaryOperatorKind
.Add OrElse
49
op =
BinaryOperatorKind
.Subtract OrElse
50
op =
BinaryOperatorKind
.IntegerDivide)
BoundTree\BoundCaseClause.vb (3)
10
Protected Shared Sub ValidateValueAndCondition(valueOpt As BoundExpression, conditionOpt As BoundExpression, operatorKind As
BinaryOperatorKind
)
17
Debug.Assert((binaryOp.OperatorKind And
BinaryOperatorKind
.OpMask) = operatorKind)
21
Debug.Assert((binaryOp.OperatorKind And
BinaryOperatorKind
.OpMask) = operatorKind)
BoundTree\BoundRangeCaseClause.vb (2)
11
ValidateValueAndCondition(LowerBoundOpt, LowerBoundConditionOpt,
BinaryOperatorKind
.GreaterThanOrEqual)
12
ValidateValueAndCondition(UpperBoundOpt, UpperBoundConditionOpt,
BinaryOperatorKind
.LessThanOrEqual)
BoundTree\BoundSimpleCaseClause.vb (1)
15
ValidateValueAndCondition(ValueOpt, ConditionOpt,
BinaryOperatorKind
.Equals)
BoundTree\BoundUserDefinedBinaryOperator.vb (6)
34
Debug.Assert((OperatorKind And
BinaryOperatorKind
.UserDefined) <> 0)
36
Debug.Assert((OperatorKind And
BinaryOperatorKind
.OpMask) <>
BinaryOperatorKind
.AndAlso)
37
Debug.Assert((OperatorKind And
BinaryOperatorKind
.OpMask) <>
BinaryOperatorKind
.OrElse)
43
If (OperatorKind And
BinaryOperatorKind
.Lifted) <> 0 Then
CodeGen\EmitConversion.vb (7)
118
Select Case (DirectCast(conversion.Operand, BoundBinaryOperator).OperatorKind And
BinaryOperatorKind
.OpMask)
119
Case
BinaryOperatorKind
.Add,
120
BinaryOperatorKind
.Subtract,
121
BinaryOperatorKind
.Multiply,
122
BinaryOperatorKind
.Divide,
123
BinaryOperatorKind
.Modulo,
124
BinaryOperatorKind
.Power
CodeGen\EmitOperators.vb (75)
98
Dim operationKind = expression.OperatorKind And
BinaryOperatorKind
.OpMask
99
Dim shortCircuit As Boolean = operationKind =
BinaryOperatorKind
.AndAlso OrElse operationKind =
BinaryOperatorKind
.OrElse
116
Private Function IsCondOperator(operationKind As
BinaryOperatorKind
) As Boolean
117
Select Case (operationKind And
BinaryOperatorKind
.OpMask)
118
Case
BinaryOperatorKind
.OrElse,
119
BinaryOperatorKind
.AndAlso,
120
BinaryOperatorKind
.Equals,
121
BinaryOperatorKind
.NotEquals,
122
BinaryOperatorKind
.LessThanOrEqual,
123
BinaryOperatorKind
.GreaterThanOrEqual,
124
BinaryOperatorKind
.LessThan,
125
BinaryOperatorKind
.GreaterThan,
126
BinaryOperatorKind
.Is,
127
BinaryOperatorKind
.IsNot
136
Private Function IsComparisonOperator(operationKind As
BinaryOperatorKind
) As Boolean
137
Select Case operationKind And
BinaryOperatorKind
.OpMask
138
Case
BinaryOperatorKind
.Equals,
139
BinaryOperatorKind
.NotEquals,
140
BinaryOperatorKind
.LessThanOrEqual,
141
BinaryOperatorKind
.GreaterThanOrEqual,
142
BinaryOperatorKind
.LessThan,
143
BinaryOperatorKind
.GreaterThan,
144
BinaryOperatorKind
.Is,
145
BinaryOperatorKind
.IsNot
195
Select Case (binary.OperatorKind And
BinaryOperatorKind
.OpMask)
196
Case
BinaryOperatorKind
.And
199
Case
BinaryOperatorKind
.Xor
202
Case
BinaryOperatorKind
.Or
216
Select Case (expression.OperatorKind And
BinaryOperatorKind
.OpMask)
217
Case
BinaryOperatorKind
.And
222
Case
BinaryOperatorKind
.Xor
227
Case
BinaryOperatorKind
.Or
238
Dim type = expression.OperatorKind And
BinaryOperatorKind
.OpMask
241
Case
BinaryOperatorKind
.Divide,
242
BinaryOperatorKind
.Modulo,
243
BinaryOperatorKind
.IntegerDivide
246
Case
BinaryOperatorKind
.Multiply,
247
BinaryOperatorKind
.Add,
248
BinaryOperatorKind
.Subtract
266
Dim opKind = expression.OperatorKind And
BinaryOperatorKind
.OpMask
269
Case
BinaryOperatorKind
.Multiply
282
Case
BinaryOperatorKind
.Modulo
289
Case
BinaryOperatorKind
.Add
301
Case
BinaryOperatorKind
.Subtract
313
Case
BinaryOperatorKind
.Divide,
314
BinaryOperatorKind
.IntegerDivide
322
Case
BinaryOperatorKind
.LeftShift
336
Case
BinaryOperatorKind
.RightShift
363
opKind <>
BinaryOperatorKind
.LeftShift AndAlso
364
opKind <>
BinaryOperatorKind
.RightShift)
432
Dim opKind = (binOp.OperatorKind And
BinaryOperatorKind
.OpMask)
435
Debug.Assert(operandType IsNot Nothing OrElse (binOp.Left.IsNothingLiteral() AndAlso (opKind =
BinaryOperatorKind
.Is OrElse opKind =
BinaryOperatorKind
.IsNot)))
441
Case
BinaryOperatorKind
.LessThan
442
opKind =
BinaryOperatorKind
.GreaterThan
443
Case
BinaryOperatorKind
.LessThanOrEqual
444
opKind =
BinaryOperatorKind
.GreaterThanOrEqual
445
Case
BinaryOperatorKind
.GreaterThan
446
opKind =
BinaryOperatorKind
.LessThan
447
Case
BinaryOperatorKind
.GreaterThanOrEqual
448
opKind =
BinaryOperatorKind
.LessThanOrEqual
453
Case
BinaryOperatorKind
.OrElse
457
Case
BinaryOperatorKind
.AndAlso
469
Case
BinaryOperatorKind
.IsNot
473
Case
BinaryOperatorKind
.Is
477
Case
BinaryOperatorKind
.NotEquals
482
Case
BinaryOperatorKind
.Equals
514
Case
BinaryOperatorKind
.Or
521
Case
BinaryOperatorKind
.And
528
Case
BinaryOperatorKind
.Xor
541
Case
BinaryOperatorKind
.LessThan
544
Case
BinaryOperatorKind
.LessThanOrEqual
548
Case
BinaryOperatorKind
.GreaterThan
551
Case
BinaryOperatorKind
.GreaterThanOrEqual
CodeGen\EmitStatement.vb (40)
496
Dim opKind = condition.OperatorKind And
BinaryOperatorKind
.OpMask
498
Debug.Assert(opKind =
BinaryOperatorKind
.Equals OrElse
499
opKind =
BinaryOperatorKind
.NotEquals OrElse
500
opKind =
BinaryOperatorKind
.Is OrElse
501
opKind =
BinaryOperatorKind
.IsNot)
520
Debug.Assert(nonConstType IsNot Nothing OrElse (nonConstOp.IsNothingLiteral() AndAlso (opKind =
BinaryOperatorKind
.Is OrElse opKind =
BinaryOperatorKind
.IsNot)))
537
If opKind =
BinaryOperatorKind
.NotEquals OrElse opKind =
BinaryOperatorKind
.IsNot Then
564
Dim opKind = (expression.OperatorKind And
BinaryOperatorKind
.OpMask)
567
Debug.Assert(operandType IsNot Nothing OrElse (expression.Left.IsNothingLiteral() AndAlso (opKind =
BinaryOperatorKind
.Is OrElse opKind =
BinaryOperatorKind
.IsNot)))
573
Case
BinaryOperatorKind
.LessThan
574
opKind =
BinaryOperatorKind
.GreaterThan
575
Case
BinaryOperatorKind
.LessThanOrEqual
576
opKind =
BinaryOperatorKind
.GreaterThanOrEqual
577
Case
BinaryOperatorKind
.GreaterThan
578
opKind =
BinaryOperatorKind
.LessThan
579
Case
BinaryOperatorKind
.GreaterThanOrEqual
580
opKind =
BinaryOperatorKind
.LessThanOrEqual
585
Case
BinaryOperatorKind
.IsNot
589
Case
BinaryOperatorKind
.Is
593
Case
BinaryOperatorKind
.Equals
596
Case
BinaryOperatorKind
.NotEquals
599
Case
BinaryOperatorKind
.LessThan
602
Case
BinaryOperatorKind
.LessThanOrEqual
605
Case
BinaryOperatorKind
.GreaterThan
608
Case
BinaryOperatorKind
.GreaterThanOrEqual
696
Select Case binOp.OperatorKind And
BinaryOperatorKind
.OpMask
697
Case
BinaryOperatorKind
.OrElse
701
Case
BinaryOperatorKind
.AndAlso
721
Case
BinaryOperatorKind
.IsNot,
722
BinaryOperatorKind
.Is
727
Case
BinaryOperatorKind
.Equals,
728
BinaryOperatorKind
.NotEquals
737
Case
BinaryOperatorKind
.LessThan,
738
BinaryOperatorKind
.LessThanOrEqual,
739
BinaryOperatorKind
.GreaterThan,
740
BinaryOperatorKind
.GreaterThanOrEqual
1004
Debug.Assert(relationalCaseClause.OperatorKind =
BinaryOperatorKind
.Equals)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (6)
938
Select Case (binary.OperatorKind And
BinaryOperatorKind
.OpMask)
939
Case
BinaryOperatorKind
.AndAlso,
BinaryOperatorKind
.OrElse
976
Select Case (node.OperatorKind And
BinaryOperatorKind
.OpMask)
977
Case
BinaryOperatorKind
.AndAlso,
BinaryOperatorKind
.OrElse
CodeGen\ResumableStateMachineStateAllocator.vb (2)
86
If(_increasing,
BinaryOperatorKind
.GreaterThanOrEqual,
BinaryOperatorKind
.LessThanOrEqual),
Compilation\VisualBasicCompilation.vb (10)
2982
If opInfo.BinaryOperatorKind =
BinaryOperatorKind
.Xor OrElse
2983
opInfo.BinaryOperatorKind =
BinaryOperatorKind
.And OrElse
2984
opInfo.BinaryOperatorKind =
BinaryOperatorKind
.Or Then
3002
If opInfo.BinaryOperatorKind =
BinaryOperatorKind
.Equals OrElse
3003
opInfo.BinaryOperatorKind =
BinaryOperatorKind
.NotEquals OrElse
3004
opInfo.BinaryOperatorKind =
BinaryOperatorKind
.LessThanOrEqual OrElse
3005
opInfo.BinaryOperatorKind =
BinaryOperatorKind
.GreaterThanOrEqual OrElse
3006
opInfo.BinaryOperatorKind =
BinaryOperatorKind
.LessThan OrElse
3007
opInfo.BinaryOperatorKind =
BinaryOperatorKind
.GreaterThan OrElse
3008
opInfo.BinaryOperatorKind =
BinaryOperatorKind
.Like Then
Generated\BoundNodes.xml.Generated.vb (12)
1529
Public Sub New(syntax As SyntaxNode, operatorKind As
BinaryOperatorKind
, left As BoundExpression, right As BoundExpression, checked As Boolean, constantValueOpt As ConstantValue, type As TypeSymbol, Optional hasErrors As Boolean = False)
1549
Private ReadOnly _OperatorKind As
BinaryOperatorKind
1550
Public ReadOnly Property OperatorKind As
BinaryOperatorKind
1589
Public Function Update(operatorKind As
BinaryOperatorKind
, left As BoundExpression, right As BoundExpression, checked As Boolean, constantValueOpt As ConstantValue, type As TypeSymbol) As BoundBinaryOperator
1602
Public Sub New(syntax As SyntaxNode, operatorKind As
BinaryOperatorKind
, underlyingExpression As BoundExpression, checked As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False)
1619
Private ReadOnly _OperatorKind As
BinaryOperatorKind
1620
Public ReadOnly Property OperatorKind As
BinaryOperatorKind
1645
Public Function Update(operatorKind As
BinaryOperatorKind
, underlyingExpression As BoundExpression, checked As Boolean, type As TypeSymbol) As BoundUserDefinedBinaryOperator
5245
Public Sub New(syntax As SyntaxNode, operatorKind As
BinaryOperatorKind
, valueOpt As BoundExpression, conditionOpt As BoundExpression, Optional hasErrors As Boolean = False)
5256
Private ReadOnly _OperatorKind As
BinaryOperatorKind
5257
Public ReadOnly Property OperatorKind As
BinaryOperatorKind
5268
Public Function Update(operatorKind As
BinaryOperatorKind
, valueOpt As BoundExpression, conditionOpt As BoundExpression) As BoundRelationalCaseClause
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (7)
240
Dim operatorKind As
BinaryOperatorKind
= rewritten.OperatorKind And
BinaryOperatorKind
.OpMask
241
Debug.Assert(operatorKind = (rewritten.OperatorKind And Not (
BinaryOperatorKind
.IsOperandOfConditionalBranch Or
BinaryOperatorKind
.OptimizableForConditionalBranch)))
242
If operatorKind =
BinaryOperatorKind
.AndAlso OrElse operatorKind =
BinaryOperatorKind
.OrElse Then
250
If(operatorKind =
BinaryOperatorKind
.AndAlso,
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (5)
88
Dim opKind As
BinaryOperatorKind
= node.OperatorKind And
BinaryOperatorKind
.OpMask
91
Case
BinaryOperatorKind
.Like,
92
BinaryOperatorKind
.Concatenate
96
If (node.OperatorKind And
BinaryOperatorKind
.Lifted) <> 0 Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (171)
12
Debug.Assert((node.OperatorKind And
BinaryOperatorKind
.UserDefined) = 0)
14
Select Case node.OperatorKind And
BinaryOperatorKind
.OpMask
15
Case
BinaryOperatorKind
.And,
16
BinaryOperatorKind
.Or,
17
BinaryOperatorKind
.Xor,
18
BinaryOperatorKind
.Power,
19
BinaryOperatorKind
.Multiply,
20
BinaryOperatorKind
.Add,
21
BinaryOperatorKind
.Subtract,
22
BinaryOperatorKind
.Divide,
23
BinaryOperatorKind
.Modulo,
24
BinaryOperatorKind
.IntegerDivide,
25
BinaryOperatorKind
.LeftShift,
26
BinaryOperatorKind
.RightShift
29
Case
BinaryOperatorKind
.Is,
30
BinaryOperatorKind
.IsNot,
31
BinaryOperatorKind
.Equals,
32
BinaryOperatorKind
.NotEquals,
33
BinaryOperatorKind
.LessThanOrEqual,
34
BinaryOperatorKind
.GreaterThanOrEqual,
35
BinaryOperatorKind
.LessThan,
36
BinaryOperatorKind
.GreaterThan
39
Case
BinaryOperatorKind
.OrElse,
40
BinaryOperatorKind
.AndAlso
43
Case
BinaryOperatorKind
.Like,
44
BinaryOperatorKind
.Concatenate
54
Dim opKind As
BinaryOperatorKind
= node.OperatorKind And
BinaryOperatorKind
.OpMask
55
Dim isLifted As Boolean = (node.OperatorKind And
BinaryOperatorKind
.Lifted) <> 0
59
Case
BinaryOperatorKind
.Like,
60
BinaryOperatorKind
.Concatenate
63
Case
BinaryOperatorKind
.Is,
64
BinaryOperatorKind
.IsNot,
65
BinaryOperatorKind
.Equals,
66
BinaryOperatorKind
.NotEquals,
67
BinaryOperatorKind
.LessThanOrEqual,
68
BinaryOperatorKind
.GreaterThanOrEqual,
69
BinaryOperatorKind
.LessThan,
70
BinaryOperatorKind
.GreaterThan
92
Private Shared Function GetComparisonBinaryOperatorFactoryWithMethodInfo(opKind As
BinaryOperatorKind
) As WellKnownMember
93
Select Case opKind And
BinaryOperatorKind
.OpMask
94
Case
BinaryOperatorKind
.Is,
95
BinaryOperatorKind
.Equals
98
Case
BinaryOperatorKind
.IsNot,
99
BinaryOperatorKind
.NotEquals
102
Case
BinaryOperatorKind
.LessThanOrEqual
105
Case
BinaryOperatorKind
.GreaterThanOrEqual
108
Case
BinaryOperatorKind
.LessThan
111
Case
BinaryOperatorKind
.GreaterThan
119
Private Shared Function GetNonComparisonBinaryOperatorFactoryWithMethodInfo(opKind As
BinaryOperatorKind
, isChecked As Boolean) As WellKnownMember
120
Select Case opKind And
BinaryOperatorKind
.OpMask
121
Case
BinaryOperatorKind
.Add
126
Case
BinaryOperatorKind
.Subtract
131
Case
BinaryOperatorKind
.Multiply
136
Case
BinaryOperatorKind
.IntegerDivide,
137
BinaryOperatorKind
.Divide
140
Case
BinaryOperatorKind
.Modulo
143
Case
BinaryOperatorKind
.Power
146
Case
BinaryOperatorKind
.And
149
Case
BinaryOperatorKind
.Or
152
Case
BinaryOperatorKind
.Xor
155
Case
BinaryOperatorKind
.LeftShift
158
Case
BinaryOperatorKind
.RightShift
168
Dim opKind As
BinaryOperatorKind
= operand.OperatorKind And
BinaryOperatorKind
.OpMask
174
Return ConvertRuntimeHelperToExpressionTree(If(opKind =
BinaryOperatorKind
.And,
185
Dim opKind As
BinaryOperatorKind
= node.OperatorKind
187
If (opKind And
BinaryOperatorKind
.Lifted) = 0 Then
205
Dim opKind = node.OperatorKind And
BinaryOperatorKind
.OpMask
206
Debug.Assert(opKind =
BinaryOperatorKind
.Is OrElse opKind =
BinaryOperatorKind
.IsNot OrElse
207
opKind =
BinaryOperatorKind
.Equals OrElse opKind =
BinaryOperatorKind
.NotEquals OrElse
208
opKind =
BinaryOperatorKind
.LessThan OrElse opKind =
BinaryOperatorKind
.GreaterThan OrElse
209
opKind =
BinaryOperatorKind
.LessThanOrEqual OrElse opKind =
BinaryOperatorKind
.GreaterThanOrEqual)
210
Debug.Assert((node.OperatorKind And
BinaryOperatorKind
.UserDefined) = 0)
220
Dim isIsIsNot As Boolean = (opKind =
BinaryOperatorKind
.Is) OrElse (opKind =
BinaryOperatorKind
.IsNot)
285
Case
BinaryOperatorKind
.LessThan
286
opKind =
BinaryOperatorKind
.GreaterThan
289
Case
BinaryOperatorKind
.LessThanOrEqual
290
opKind =
BinaryOperatorKind
.GreaterThanOrEqual
293
Case
BinaryOperatorKind
.GreaterThan
294
opKind =
BinaryOperatorKind
.LessThan
297
Case
BinaryOperatorKind
.GreaterThanOrEqual
298
opKind =
BinaryOperatorKind
.LessThanOrEqual
339
Dim opKind = node.OperatorKind And
BinaryOperatorKind
.OpMask
340
Debug.Assert(opKind =
BinaryOperatorKind
.AndAlso OrElse opKind =
BinaryOperatorKind
.OrElse)
341
Debug.Assert((node.OperatorKind And
BinaryOperatorKind
.UserDefined) = 0)
361
Case
BinaryOperatorKind
.AndAlso
363
Case
BinaryOperatorKind
.OrElse
389
Dim opKind = node.OperatorKind And
BinaryOperatorKind
.OpMask
390
Debug.Assert(opKind =
BinaryOperatorKind
.And OrElse opKind =
BinaryOperatorKind
.Or OrElse opKind =
BinaryOperatorKind
.Xor OrElse
391
opKind =
BinaryOperatorKind
.Power OrElse opKind =
BinaryOperatorKind
.Multiply OrElse
392
opKind =
BinaryOperatorKind
.Add OrElse opKind =
BinaryOperatorKind
.Subtract OrElse
393
opKind =
BinaryOperatorKind
.Divide OrElse opKind =
BinaryOperatorKind
.IntegerDivide OrElse
394
opKind =
BinaryOperatorKind
.Modulo OrElse
395
opKind =
BinaryOperatorKind
.LeftShift OrElse opKind =
BinaryOperatorKind
.RightShift)
396
Debug.Assert((node.OperatorKind And
BinaryOperatorKind
.UserDefined) = 0)
410
ElseIf opKind =
BinaryOperatorKind
.Power Then
417
Debug.Assert(opKind <>
BinaryOperatorKind
.Power OrElse helper IsNot Nothing)
441
If opKind =
BinaryOperatorKind
.LeftShift OrElse opKind =
BinaryOperatorKind
.RightShift Then
469
Private Shared Function GetNonComparisonBinaryOperatorFactoryWithoutMethodInfo(opKind As
BinaryOperatorKind
, isChecked As Boolean) As WellKnownMember
470
Select Case opKind And
BinaryOperatorKind
.OpMask
471
Case
BinaryOperatorKind
.Add
476
Case
BinaryOperatorKind
.Subtract
481
Case
BinaryOperatorKind
.Multiply
486
Case
BinaryOperatorKind
.IntegerDivide,
487
BinaryOperatorKind
.Divide
490
Case
BinaryOperatorKind
.Modulo
493
Case
BinaryOperatorKind
.And
496
Case
BinaryOperatorKind
.Or
499
Case
BinaryOperatorKind
.Xor
502
Case
BinaryOperatorKind
.LeftShift
505
Case
BinaryOperatorKind
.RightShift
619
Private Function GetHelperForDecimalBinaryOperation(opKind As
BinaryOperatorKind
) As MethodSymbol
620
opKind = opKind And
BinaryOperatorKind
.OpMask
624
Case
BinaryOperatorKind
.Add
626
Case
BinaryOperatorKind
.Subtract
628
Case
BinaryOperatorKind
.Multiply
630
Case
BinaryOperatorKind
.Divide
632
Case
BinaryOperatorKind
.Modulo
635
Case
BinaryOperatorKind
.Equals,
636
BinaryOperatorKind
.Is
638
Case
BinaryOperatorKind
.NotEquals,
639
BinaryOperatorKind
.IsNot
641
Case
BinaryOperatorKind
.LessThan
643
Case
BinaryOperatorKind
.LessThanOrEqual
645
Case
BinaryOperatorKind
.GreaterThan
647
Case
BinaryOperatorKind
.GreaterThanOrEqual
656
Private Function GetHelperForDateTimeBinaryOperation(opKind As
BinaryOperatorKind
) As MethodSymbol
657
opKind = opKind And
BinaryOperatorKind
.OpMask
661
Case
BinaryOperatorKind
.Equals,
662
BinaryOperatorKind
.Is
664
Case
BinaryOperatorKind
.NotEquals,
665
BinaryOperatorKind
.IsNot
667
Case
BinaryOperatorKind
.LessThan
669
Case
BinaryOperatorKind
.LessThanOrEqual
671
Case
BinaryOperatorKind
.GreaterThan
673
Case
BinaryOperatorKind
.GreaterThanOrEqual
683
Private Function GetHelperForObjectBinaryOperation(opKind As
BinaryOperatorKind
) As MethodSymbol
684
opKind = opKind And
BinaryOperatorKind
.OpMask
688
Case
BinaryOperatorKind
.Add
690
Case
BinaryOperatorKind
.Subtract
692
Case
BinaryOperatorKind
.Multiply
694
Case
BinaryOperatorKind
.Divide
696
Case
BinaryOperatorKind
.IntegerDivide
698
Case
BinaryOperatorKind
.Modulo
700
Case
BinaryOperatorKind
.Power
702
Case
BinaryOperatorKind
.And
704
Case
BinaryOperatorKind
.Xor
706
Case
BinaryOperatorKind
.Or
708
Case
BinaryOperatorKind
.LeftShift
710
Case
BinaryOperatorKind
.RightShift
712
Case
BinaryOperatorKind
.Concatenate
739
Private Function AdjustCallForLiftedOperator(opKind As
BinaryOperatorKind
, [call] As BoundCall, resultType As TypeSymbol) As BoundExpression
740
Debug.Assert((opKind And
BinaryOperatorKind
.Lifted) <> 0)
741
Debug.Assert((opKind And
BinaryOperatorKind
.OpMask) =
BinaryOperatorKind
.Like OrElse
742
(opKind And
BinaryOperatorKind
.OpMask) =
BinaryOperatorKind
.Concatenate)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
284
BinaryOperatorKind
.Equals,
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
459
Dim condition = New BoundBinaryOperator(syntaxNode,
BinaryOperatorKind
.Is,
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (17)
367
If (binaryOperator.OperatorKind And
BinaryOperatorKind
.UserDefined) = 0 Then
368
Select Case (binaryOperator.OperatorKind And
BinaryOperatorKind
.OpMask)
369
Case
BinaryOperatorKind
.Power,
370
BinaryOperatorKind
.Divide,
371
BinaryOperatorKind
.Modulo,
372
BinaryOperatorKind
.IntegerDivide,
373
BinaryOperatorKind
.Concatenate,
374
BinaryOperatorKind
.And,
375
BinaryOperatorKind
.AndAlso,
376
BinaryOperatorKind
.Or,
377
BinaryOperatorKind
.OrElse,
378
BinaryOperatorKind
.Xor,
379
BinaryOperatorKind
.Multiply,
380
BinaryOperatorKind
.Add,
381
BinaryOperatorKind
.Subtract,
382
BinaryOperatorKind
.LeftShift,
383
BinaryOperatorKind
.RightShift
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (81)
18
If (node.OperatorKind And
BinaryOperatorKind
.Lifted) <> 0 Then
84
Dim optimizeForConditionalBranch As Boolean = (node.OperatorKind And
BinaryOperatorKind
.OptimizableForConditionalBranch) <> 0
100
Select Case (binary.OperatorKind And
BinaryOperatorKind
.OpMask)
101
Case
BinaryOperatorKind
.AndAlso,
BinaryOperatorKind
.OrElse
127
If (binary.OperatorKind And
BinaryOperatorKind
.Lifted) <> 0 Then
141
If optimizeForConditionalBranch AndAlso (binary.OperatorKind And
BinaryOperatorKind
.OpMask) <>
BinaryOperatorKind
.OrElse Then
142
Debug.Assert((binary.OperatorKind And
BinaryOperatorKind
.OpMask) =
BinaryOperatorKind
.AndAlso)
160
If (node.OperatorKind And
BinaryOperatorKind
.Lifted) <> 0 Then
231
Debug.Assert((opKind And
BinaryOperatorKind
.Lifted) = 0)
233
Select Case (opKind And
BinaryOperatorKind
.OpMask)
234
Case
BinaryOperatorKind
.Is,
BinaryOperatorKind
.IsNot
248
Case
BinaryOperatorKind
.Concatenate ' Concat needs to be done before expr trees, so in LocalRewriter instead of VBSemanticsRewriter
255
Case
BinaryOperatorKind
.Like
262
Case
BinaryOperatorKind
.Equals
284
Case
BinaryOperatorKind
.NotEquals
303
Case
BinaryOperatorKind
.LessThanOrEqual
322
Case
BinaryOperatorKind
.GreaterThanOrEqual
341
Case
BinaryOperatorKind
.LessThan
360
Case
BinaryOperatorKind
.GreaterThan
379
Case
BinaryOperatorKind
.Add
386
Case
BinaryOperatorKind
.Subtract
393
Case
BinaryOperatorKind
.Multiply
400
Case
BinaryOperatorKind
.Modulo
407
Case
BinaryOperatorKind
.Divide
414
Case
BinaryOperatorKind
.IntegerDivide
419
Case
BinaryOperatorKind
.Power
426
Case
BinaryOperatorKind
.LeftShift
431
Case
BinaryOperatorKind
.RightShift
436
Case
BinaryOperatorKind
.OrElse,
BinaryOperatorKind
.AndAlso
441
Case
BinaryOperatorKind
.Xor
446
Case
BinaryOperatorKind
.Or
451
Case
BinaryOperatorKind
.And
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)
680
Dim compareText As Boolean = (node.OperatorKind And
BinaryOperatorKind
.CompareText) <> 0
704
result = New BoundBinaryOperator(node.Syntax, (node.OperatorKind And
BinaryOperatorKind
.OpMask),
720
Dim compareText As Boolean = (node.OperatorKind And
BinaryOperatorKind
.CompareText) <> 0
752
Dim compareText As Boolean = (node.OperatorKind And
BinaryOperatorKind
.CompareText) <> 0
802
Debug.Assert((node.OperatorKind And
BinaryOperatorKind
.Lifted) <> 0)
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)
849
Case
BinaryOperatorKind
.And,
850
BinaryOperatorKind
.Or,
851
BinaryOperatorKind
.AndAlso,
852
BinaryOperatorKind
.OrElse
915
BinaryOperatorKind
.And,
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)
995
BinaryOperatorKind
.AndAlso,
997
BinaryOperatorKind
.OrElse,
1005
BinaryOperatorKind
.AndAlso,
1025
Debug.Assert(leftHasValue OrElse (node.OperatorKind And
BinaryOperatorKind
.OpMask) =
BinaryOperatorKind
.OrElse)
1070
Dim op = node.OperatorKind And
BinaryOperatorKind
.OpMask
1071
Dim isOr As Boolean = (op =
BinaryOperatorKind
.OrElse) OrElse
1072
(op =
BinaryOperatorKind
.Or)
1122
MakeBooleanBinaryExpression(syntax,
BinaryOperatorKind
.And,
1166
Dim IsShortCircuited = (op =
BinaryOperatorKind
.AndAlso Or op =
BinaryOperatorKind
.OrElse)
1263
BinaryOperatorKind
.AndAlso,
1311
Debug.Assert(node.OperatorKind =
BinaryOperatorKind
.Is OrElse node.OperatorKind =
BinaryOperatorKind
.IsNot)
1317
Return RewriteNullableIsOrIsNotOperator((node.OperatorKind And
BinaryOperatorKind
.OpMask) =
BinaryOperatorKind
.Is, If(left.IsNothingLiteral, right, left), node.Type)
1442
condition = MakeBooleanBinaryExpression(node.Syntax,
BinaryOperatorKind
.And, leftHasValueExpression, rightHasValueExpression)
1500
Dim unliftedOpKind = originalOperator.OperatorKind And (Not
BinaryOperatorKind
.Lifted)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (7)
82
Select Case binary.OperatorKind And
BinaryOperatorKind
.OpMask
83
Case
BinaryOperatorKind
.Equals,
84
BinaryOperatorKind
.NotEquals,
85
BinaryOperatorKind
.LessThan,
86
BinaryOperatorKind
.LessThanOrEqual,
87
BinaryOperatorKind
.GreaterThan,
88
BinaryOperatorKind
.GreaterThanOrEqual
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (2)
389
BinaryOperatorKind
.Add,
468
BinaryOperatorKind
.LessThan,
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (15)
137
BinaryOperatorKind
.GreaterThanOrEqual,
146
BinaryOperatorKind
.AndAlso,
580
BinaryOperatorKind
.And,
590
BinaryOperatorKind
.Add,
637
New BoundBinaryOperator(value.Syntax,
BinaryOperatorKind
.RightShift, [step], shiftConst, False, [step].Type))
639
Return TransformRewrittenBinaryOperator(New BoundBinaryOperator(value.Syntax,
BinaryOperatorKind
.Xor, shiftedStep, value, False, value.Type))
685
BinaryOperatorKind
.LessThanOrEqual,
695
Dim comparisonOperator As
BinaryOperatorKind
697
comparisonOperator =
BinaryOperatorKind
.GreaterThanOrEqual
699
comparisonOperator =
BinaryOperatorKind
.LessThanOrEqual
722
BinaryOperatorKind
.LessThanOrEqual,
736
BinaryOperatorKind
.And,
748
BinaryOperatorKind
.LessThanOrEqual,
756
BinaryOperatorKind
.GreaterThanOrEqual,
779
BinaryOperatorKind
.AndAlso,
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (3)
211
BinaryOperatorKind
.Is, flagAsObject,
268
BinaryOperatorKind
.Equals,
277
BinaryOperatorKind
.Equals,
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (11)
393
binaryOpKind As
BinaryOperatorKind
,
417
Case
BinaryOperatorKind
.Subtract
422
Case
BinaryOperatorKind
.Add,
423
BinaryOperatorKind
.Or,
424
BinaryOperatorKind
.OrElse
444
Case
BinaryOperatorKind
.And,
445
BinaryOperatorKind
.AndAlso,
446
BinaryOperatorKind
.Multiply
466
Case
BinaryOperatorKind
.Equals
475
Case
BinaryOperatorKind
.NotEquals
494
binaryOpKind As
BinaryOperatorKind
,
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (1)
77
BinaryOperatorKind
.Is,
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (1)
363
Debug.Assert(relationalCaseClause.OperatorKind =
BinaryOperatorKind
.Equals)
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (1)
261
BinaryOperatorKind
.Equals,
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (6)
46
If (binary.OperatorKind And
BinaryOperatorKind
.IsOperandOfConditionalBranch) <> 0 Then
47
Select Case (binary.OperatorKind And
BinaryOperatorKind
.OpMask)
48
Case
BinaryOperatorKind
.AndAlso,
BinaryOperatorKind
.OrElse
49
Debug.Assert((binary.OperatorKind And
BinaryOperatorKind
.Lifted) <> 0)
51
Return binary.Update(binary.OperatorKind Or
BinaryOperatorKind
.OptimizableForConditionalBranch,
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (3)
236
nodeFactory.Conditional(nodeFactory.Binary(
BinaryOperatorKind
.GreaterThan,
297
nodeFactory.Binary(
BinaryOperatorKind
.NotEquals,
407
nodeFactory.Binary(
BinaryOperatorKind
.Equals,
Lowering\SyntheticBoundNodeFactory.vb (8)
427
Return Binary(
BinaryOperatorKind
.AndAlso, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean), left, right)
431
Return Binary(
BinaryOperatorKind
.OrElse, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean), left, right)
435
Return Binary(
BinaryOperatorKind
.Equals, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean), left, right)
439
Return Binary(
BinaryOperatorKind
.LessThan, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean), left, right)
1059
Public Function Binary(kind As
BinaryOperatorKind
, type As TypeSymbol, left As BoundExpression, right As BoundExpression) As BoundBinaryOperator
1066
Dim boundNode = Binary(
BinaryOperatorKind
.Is, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean), left, right)
1073
Dim boundNode = Binary(
BinaryOperatorKind
.Is, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean), operand, Me.Null(operand.Type))
1080
Dim boundNode = Binary(
BinaryOperatorKind
.IsNot, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean), operand, Me.Null(operand.Type))
Operations\VisualBasicOperationFactory_Methods.vb (29)
131
isLifted:=(boundBinaryOperator.OperatorKind And VisualBasic.
BinaryOperatorKind
.Lifted) <> 0,
133
isCompareText:=(boundBinaryOperator.OperatorKind And VisualBasic.
BinaryOperatorKind
.CompareText) <> 0)
142
isLifted:=(boundUserDefinedBinaryOperator.OperatorKind And VisualBasic.
BinaryOperatorKind
.Lifted) <> 0,
633
Friend Shared Function DeriveBinaryOperatorKind(operatorKind As VisualBasic.
BinaryOperatorKind
, leftOpt As BoundExpression) As BinaryOperatorKind
634
Select Case operatorKind And VisualBasic.
BinaryOperatorKind
.OpMask
635
Case VisualBasic.
BinaryOperatorKind
.Add
637
Case VisualBasic.
BinaryOperatorKind
.Subtract
639
Case VisualBasic.
BinaryOperatorKind
.Multiply
641
Case VisualBasic.
BinaryOperatorKind
.Divide
643
Case VisualBasic.
BinaryOperatorKind
.IntegerDivide
645
Case VisualBasic.
BinaryOperatorKind
.Modulo
647
Case VisualBasic.
BinaryOperatorKind
.And
649
Case VisualBasic.
BinaryOperatorKind
.Or
651
Case VisualBasic.
BinaryOperatorKind
.Xor
653
Case VisualBasic.
BinaryOperatorKind
.AndAlso
655
Case VisualBasic.
BinaryOperatorKind
.OrElse
657
Case VisualBasic.
BinaryOperatorKind
.LeftShift
659
Case VisualBasic.
BinaryOperatorKind
.RightShift
661
Case VisualBasic.
BinaryOperatorKind
.LessThan
663
Case VisualBasic.
BinaryOperatorKind
.LessThanOrEqual
665
Case VisualBasic.
BinaryOperatorKind
.Equals
667
Case VisualBasic.
BinaryOperatorKind
.NotEquals
669
Case VisualBasic.
BinaryOperatorKind
.Is
671
Case VisualBasic.
BinaryOperatorKind
.IsNot
673
Case VisualBasic.
BinaryOperatorKind
.GreaterThanOrEqual
675
Case VisualBasic.
BinaryOperatorKind
.GreaterThan
677
Case VisualBasic.
BinaryOperatorKind
.Power
679
Case VisualBasic.
BinaryOperatorKind
.Like
681
Case VisualBasic.
BinaryOperatorKind
.Concatenate
Semantics\Operators.vb (251)
35
Public Sub New(op As
BinaryOperatorKind
)
67
Public ReadOnly Property BinaryOperatorKind As
BinaryOperatorKind
70
Return
BinaryOperatorKind
.Error
73
Return CType(_Id >> 2,
BinaryOperatorKind
)
95
operators.Add(WellKnownMemberNames.AdditionOperatorName, New OperatorInfo(
BinaryOperatorKind
.Add))
97
operators.Add(WellKnownMemberNames.SubtractionOperatorName, New OperatorInfo(
BinaryOperatorKind
.Subtract))
98
operators.Add(WellKnownMemberNames.MultiplyOperatorName, New OperatorInfo(
BinaryOperatorKind
.Multiply))
99
operators.Add(WellKnownMemberNames.DivisionOperatorName, New OperatorInfo(
BinaryOperatorKind
.Divide))
100
operators.Add(WellKnownMemberNames.IntegerDivisionOperatorName, New OperatorInfo(
BinaryOperatorKind
.IntegerDivide))
101
operators.Add(WellKnownMemberNames.ModulusOperatorName, New OperatorInfo(
BinaryOperatorKind
.Modulo))
102
operators.Add(WellKnownMemberNames.ExponentOperatorName, New OperatorInfo(
BinaryOperatorKind
.Power))
103
operators.Add(WellKnownMemberNames.EqualityOperatorName, New OperatorInfo(
BinaryOperatorKind
.Equals))
104
operators.Add(WellKnownMemberNames.InequalityOperatorName, New OperatorInfo(
BinaryOperatorKind
.NotEquals))
105
operators.Add(WellKnownMemberNames.LessThanOperatorName, New OperatorInfo(
BinaryOperatorKind
.LessThan))
106
operators.Add(WellKnownMemberNames.GreaterThanOperatorName, New OperatorInfo(
BinaryOperatorKind
.GreaterThan))
107
operators.Add(WellKnownMemberNames.LessThanOrEqualOperatorName, New OperatorInfo(
BinaryOperatorKind
.LessThanOrEqual))
108
operators.Add(WellKnownMemberNames.GreaterThanOrEqualOperatorName, New OperatorInfo(
BinaryOperatorKind
.GreaterThanOrEqual))
109
operators.Add(WellKnownMemberNames.LikeOperatorName, New OperatorInfo(
BinaryOperatorKind
.Like))
110
operators.Add(WellKnownMemberNames.ConcatenateOperatorName, New OperatorInfo(
BinaryOperatorKind
.Concatenate))
111
operators.Add(WellKnownMemberNames.BitwiseAndOperatorName, New OperatorInfo(
BinaryOperatorKind
.And))
112
operators.Add(WellKnownMemberNames.BitwiseOrOperatorName, New OperatorInfo(
BinaryOperatorKind
.Or))
113
operators.Add(WellKnownMemberNames.ExclusiveOrOperatorName, New OperatorInfo(
BinaryOperatorKind
.Xor))
114
operators.Add(WellKnownMemberNames.LeftShiftOperatorName, New OperatorInfo(
BinaryOperatorKind
.LeftShift))
115
operators.Add(WellKnownMemberNames.RightShiftOperatorName, New OperatorInfo(
BinaryOperatorKind
.RightShift))
121
operators.Add(WellKnownMemberNames.LogicalAndOperatorName, New OperatorInfo(
BinaryOperatorKind
.And))
122
operators.Add(WellKnownMemberNames.LogicalOrOperatorName, New OperatorInfo(
BinaryOperatorKind
.Or))
123
operators.Add(WellKnownMemberNames.UnsignedLeftShiftOperatorName, New OperatorInfo(
BinaryOperatorKind
.LeftShift))
124
operators.Add(WellKnownMemberNames.UnsignedRightShiftOperatorName, New OperatorInfo(
BinaryOperatorKind
.RightShift))
161
Friend Shared Function GetOperatorTokenKind(op As
BinaryOperatorKind
) As SyntaxKind
163
Case
BinaryOperatorKind
.Add
165
Case
BinaryOperatorKind
.Subtract
167
Case
BinaryOperatorKind
.Multiply
169
Case
BinaryOperatorKind
.Divide
171
Case
BinaryOperatorKind
.IntegerDivide
173
Case
BinaryOperatorKind
.Modulo
175
Case
BinaryOperatorKind
.Power
177
Case
BinaryOperatorKind
.Equals
179
Case
BinaryOperatorKind
.NotEquals
181
Case
BinaryOperatorKind
.LessThan
183
Case
BinaryOperatorKind
.GreaterThan
185
Case
BinaryOperatorKind
.LessThanOrEqual
187
Case
BinaryOperatorKind
.GreaterThanOrEqual
189
Case
BinaryOperatorKind
.Like
191
Case
BinaryOperatorKind
.Concatenate
193
Case
BinaryOperatorKind
.And
195
Case
BinaryOperatorKind
.Or
197
Case
BinaryOperatorKind
.Xor
199
Case
BinaryOperatorKind
.LeftShift
201
Case
BinaryOperatorKind
.RightShift
203
Case
BinaryOperatorKind
.AndAlso
205
Case
BinaryOperatorKind
.OrElse
207
Case
BinaryOperatorKind
.Is
209
Case
BinaryOperatorKind
.IsNot
217
Friend Shared Function TryGetOperatorName(op As
BinaryOperatorKind
, isChecked As Boolean) As String
219
Select Case (op And
BinaryOperatorKind
.OpMask)
220
Case
BinaryOperatorKind
.Add
222
Case
BinaryOperatorKind
.Concatenate
224
Case
BinaryOperatorKind
.Like
226
Case
BinaryOperatorKind
.Equals
228
Case
BinaryOperatorKind
.NotEquals
230
Case
BinaryOperatorKind
.LessThanOrEqual
232
Case
BinaryOperatorKind
.GreaterThanOrEqual
234
Case
BinaryOperatorKind
.LessThan
236
Case
BinaryOperatorKind
.GreaterThan
238
Case
BinaryOperatorKind
.Subtract
240
Case
BinaryOperatorKind
.Multiply
242
Case
BinaryOperatorKind
.Power
244
Case
BinaryOperatorKind
.Divide
246
Case
BinaryOperatorKind
.Modulo
248
Case
BinaryOperatorKind
.IntegerDivide
250
Case
BinaryOperatorKind
.LeftShift
252
Case
BinaryOperatorKind
.RightShift
254
Case
BinaryOperatorKind
.Xor
256
Case
BinaryOperatorKind
.Or
258
Case
BinaryOperatorKind
.And
358
Case
BinaryOperatorKind
.LeftShift,
BinaryOperatorKind
.RightShift
362
SyntaxFacts.GetText(If(opInfo.BinaryOperatorKind =
BinaryOperatorKind
.LeftShift,
810
Public Shared Function MapBinaryOperatorKind(opCode As SyntaxKind) As
BinaryOperatorKind
811
Dim result As
BinaryOperatorKind
814
Case SyntaxKind.AddExpression : result =
BinaryOperatorKind
.Add
815
Case SyntaxKind.ConcatenateExpression : result =
BinaryOperatorKind
.Concatenate
816
Case SyntaxKind.LikeExpression : result =
BinaryOperatorKind
.Like
817
Case SyntaxKind.EqualsExpression : result =
BinaryOperatorKind
.Equals
818
Case SyntaxKind.NotEqualsExpression : result =
BinaryOperatorKind
.NotEquals
819
Case SyntaxKind.LessThanOrEqualExpression : result =
BinaryOperatorKind
.LessThanOrEqual
820
Case SyntaxKind.GreaterThanOrEqualExpression : result =
BinaryOperatorKind
.GreaterThanOrEqual
821
Case SyntaxKind.LessThanExpression : result =
BinaryOperatorKind
.LessThan
822
Case SyntaxKind.GreaterThanExpression : result =
BinaryOperatorKind
.GreaterThan
823
Case SyntaxKind.SubtractExpression : result =
BinaryOperatorKind
.Subtract
824
Case SyntaxKind.MultiplyExpression : result =
BinaryOperatorKind
.Multiply
825
Case SyntaxKind.ExponentiateExpression : result =
BinaryOperatorKind
.Power
826
Case SyntaxKind.DivideExpression : result =
BinaryOperatorKind
.Divide
827
Case SyntaxKind.ModuloExpression : result =
BinaryOperatorKind
.Modulo
828
Case SyntaxKind.IntegerDivideExpression : result =
BinaryOperatorKind
.IntegerDivide
829
Case SyntaxKind.LeftShiftExpression : result =
BinaryOperatorKind
.LeftShift
830
Case SyntaxKind.RightShiftExpression : result =
BinaryOperatorKind
.RightShift
831
Case SyntaxKind.ExclusiveOrExpression : result =
BinaryOperatorKind
.Xor
832
Case SyntaxKind.OrExpression : result =
BinaryOperatorKind
.Or
833
Case SyntaxKind.OrElseExpression : result =
BinaryOperatorKind
.OrElse
834
Case SyntaxKind.AndExpression : result =
BinaryOperatorKind
.And
835
Case SyntaxKind.AndAlsoExpression : result =
BinaryOperatorKind
.AndAlso
853
opCode As
BinaryOperatorKind
,
861
) As
BinaryOperatorKind
863
Debug.Assert((opCode And
BinaryOperatorKind
.OpMask) = opCode AndAlso opCode <>
BinaryOperatorKind
.Error)
865
opCode = (opCode And
BinaryOperatorKind
.OpMask)
889
Return
BinaryOperatorKind
.Error
896
(opCode =
BinaryOperatorKind
.Subtract AndAlso
909
Return
BinaryOperatorKind
.Error
913
Return
BinaryOperatorKind
.UserDefined
935
Return
BinaryOperatorKind
.Error
938
Dim result As
BinaryOperatorKind
=
BinaryOperatorKind
.Error
941
(opCode =
BinaryOperatorKind
.Xor OrElse opCode =
BinaryOperatorKind
.And OrElse opCode =
BinaryOperatorKind
.Or) AndAlso
949
result = result Or
BinaryOperatorKind
.Lifted
973
If result <>
BinaryOperatorKind
.Error AndAlso
978
opCode <>
BinaryOperatorKind
.Concatenate AndAlso opCode <>
BinaryOperatorKind
.Like Then
979
result = result Or
BinaryOperatorKind
.Lifted
986
Public Shared Function UseUserDefinedBinaryOperators(opCode As
BinaryOperatorKind
, leftType As TypeSymbol, rightType As TypeSymbol) As Boolean
999
opCode =
BinaryOperatorKind
.Subtract) Then ' Let (Date - Date) use operator overloading.
1020
operatorKind As
BinaryOperatorKind
,
1049
Dim op As
BinaryOperatorKind
= (operatorKind And
BinaryOperatorKind
.OpMask)
1053
If op <>
BinaryOperatorKind
.Like AndAlso
1054
(operatorKind And
BinaryOperatorKind
.CompareText) = 0 AndAlso
1060
op =
BinaryOperatorKind
.LeftShift OrElse op =
BinaryOperatorKind
.RightShift)
1096
Debug.Assert((operatorKind And
BinaryOperatorKind
.CompareText) = 0)
1120
op As
BinaryOperatorKind
,
1129
Debug.Assert((op And
BinaryOperatorKind
.OpMask) = op)
1142
Case
BinaryOperatorKind
.Equals
1147
Case
BinaryOperatorKind
.NotEquals
1152
Case
BinaryOperatorKind
.LessThanOrEqual
1157
Case
BinaryOperatorKind
.GreaterThanOrEqual
1162
Case
BinaryOperatorKind
.LessThan
1167
Case
BinaryOperatorKind
.GreaterThan
1185
Case
BinaryOperatorKind
.Add
1198
Case
BinaryOperatorKind
.Subtract
1212
Case
BinaryOperatorKind
.Multiply
1216
Case
BinaryOperatorKind
.IntegerDivide
1232
Case
BinaryOperatorKind
.Modulo
1248
Case
BinaryOperatorKind
.Xor
1252
Case
BinaryOperatorKind
.Or
1256
Case
BinaryOperatorKind
.And
1260
Case
BinaryOperatorKind
.LeftShift
1271
Case
BinaryOperatorKind
.RightShift
1295
op As
BinaryOperatorKind
,
1302
Debug.Assert((op And
BinaryOperatorKind
.OpMask) = op)
1314
Case
BinaryOperatorKind
.Equals
1317
Case
BinaryOperatorKind
.NotEquals
1320
Case
BinaryOperatorKind
.LessThanOrEqual
1323
Case
BinaryOperatorKind
.GreaterThanOrEqual
1326
Case
BinaryOperatorKind
.LessThan
1329
Case
BinaryOperatorKind
.GreaterThan
1347
Case
BinaryOperatorKind
.Add
1350
Case
BinaryOperatorKind
.Subtract
1353
Case
BinaryOperatorKind
.Multiply
1356
Case
BinaryOperatorKind
.Power
1379
Case
BinaryOperatorKind
.Divide
1385
Case
BinaryOperatorKind
.Modulo
1418
op As
BinaryOperatorKind
,
1424
Debug.Assert((op And
BinaryOperatorKind
.OpMask) = op)
1438
Case
BinaryOperatorKind
.Equals
1441
Case
BinaryOperatorKind
.NotEquals
1444
Case
BinaryOperatorKind
.LessThanOrEqual
1447
Case
BinaryOperatorKind
.GreaterThanOrEqual
1450
Case
BinaryOperatorKind
.LessThan
1453
Case
BinaryOperatorKind
.GreaterThan
1467
Case
BinaryOperatorKind
.Add
1470
Case
BinaryOperatorKind
.Subtract
1473
Case
BinaryOperatorKind
.Multiply
1476
Case
BinaryOperatorKind
.Divide
1479
Case
BinaryOperatorKind
.Modulo
1506
op As
BinaryOperatorKind
,
1510
Debug.Assert((op And
BinaryOperatorKind
.OpMask) = op)
1515
Case
BinaryOperatorKind
.Concatenate
1532
Case
BinaryOperatorKind
.GreaterThan,
1533
BinaryOperatorKind
.LessThan,
1534
BinaryOperatorKind
.GreaterThanOrEqual,
1535
BinaryOperatorKind
.LessThanOrEqual,
1536
BinaryOperatorKind
.Equals,
1537
BinaryOperatorKind
.NotEquals
1547
Case
BinaryOperatorKind
.Equals
1550
Case
BinaryOperatorKind
.NotEquals
1553
Case
BinaryOperatorKind
.GreaterThan
1556
Case
BinaryOperatorKind
.GreaterThanOrEqual
1559
Case
BinaryOperatorKind
.LessThan
1562
Case
BinaryOperatorKind
.LessThanOrEqual
1577
op As
BinaryOperatorKind
,
1581
Debug.Assert((op And
BinaryOperatorKind
.OpMask) = op)
1592
Case
BinaryOperatorKind
.Equals
1595
Case
BinaryOperatorKind
.NotEquals
1598
Case
BinaryOperatorKind
.GreaterThan
1602
Case
BinaryOperatorKind
.GreaterThanOrEqual
1605
Case
BinaryOperatorKind
.LessThan
1608
Case
BinaryOperatorKind
.LessThanOrEqual
1611
Case
BinaryOperatorKind
.Xor
1614
Case
BinaryOperatorKind
.OrElse,
1615
BinaryOperatorKind
.Or
1619
Case
BinaryOperatorKind
.AndAlso,
1620
BinaryOperatorKind
.And
1636
opCode As
BinaryOperatorKind
,
1651
Case
BinaryOperatorKind
.Add
1654
Case
BinaryOperatorKind
.Subtract,
1655
BinaryOperatorKind
.Multiply,
1656
BinaryOperatorKind
.Modulo
1659
Case
BinaryOperatorKind
.Divide
1662
Case
BinaryOperatorKind
.IntegerDivide
1665
Case
BinaryOperatorKind
.Power
1668
Case
BinaryOperatorKind
.LeftShift,
1669
BinaryOperatorKind
.RightShift
1672
Case
BinaryOperatorKind
.OrElse,
1673
BinaryOperatorKind
.AndAlso
1676
Case
BinaryOperatorKind
.Concatenate,
1677
BinaryOperatorKind
.Like
1680
Case
BinaryOperatorKind
.Equals,
1681
BinaryOperatorKind
.NotEquals,
1682
BinaryOperatorKind
.LessThanOrEqual,
1683
BinaryOperatorKind
.GreaterThanOrEqual,
1684
BinaryOperatorKind
.LessThan,
1685
BinaryOperatorKind
.GreaterThan
1688
Case
BinaryOperatorKind
.Xor,
1689
BinaryOperatorKind
.Or,
1690
BinaryOperatorKind
.And
3019
opKind As
BinaryOperatorKind
,
3027
Case
BinaryOperatorKind
.Add
3032
Case
BinaryOperatorKind
.Subtract
3037
Case
BinaryOperatorKind
.Multiply
3042
Case
BinaryOperatorKind
.Divide
3047
Case
BinaryOperatorKind
.IntegerDivide
3052
Case
BinaryOperatorKind
.Modulo
3057
Case
BinaryOperatorKind
.Power
3062
Case
BinaryOperatorKind
.Equals
3067
Case
BinaryOperatorKind
.NotEquals
3072
Case
BinaryOperatorKind
.LessThan
3077
Case
BinaryOperatorKind
.GreaterThan
3082
Case
BinaryOperatorKind
.LessThanOrEqual
3087
Case
BinaryOperatorKind
.GreaterThanOrEqual
3092
Case
BinaryOperatorKind
.Like
3097
Case
BinaryOperatorKind
.Concatenate
3102
Case
BinaryOperatorKind
.And,
BinaryOperatorKind
.AndAlso
3109
Case
BinaryOperatorKind
.Or,
BinaryOperatorKind
.OrElse
3115
Case
BinaryOperatorKind
.Xor
3120
Case
BinaryOperatorKind
.LeftShift
3126
Case
BinaryOperatorKind
.RightShift
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
401
(opInfo.IsBinary AndAlso opInfo.BinaryOperatorKind <>
BinaryOperatorKind
.Error) Then
Symbols\Metadata\PE\PEMethodSymbol.vb (20)
462
Case
BinaryOperatorKind
.Add,
463
BinaryOperatorKind
.Subtract,
464
BinaryOperatorKind
.Multiply,
465
BinaryOperatorKind
.Divide,
466
BinaryOperatorKind
.IntegerDivide,
467
BinaryOperatorKind
.Modulo,
468
BinaryOperatorKind
.Power,
469
BinaryOperatorKind
.Equals,
470
BinaryOperatorKind
.NotEquals,
471
BinaryOperatorKind
.LessThan,
472
BinaryOperatorKind
.GreaterThan,
473
BinaryOperatorKind
.LessThanOrEqual,
474
BinaryOperatorKind
.GreaterThanOrEqual,
475
BinaryOperatorKind
.Like,
476
BinaryOperatorKind
.Concatenate,
477
BinaryOperatorKind
.Xor
480
Case
BinaryOperatorKind
.And
486
Case
BinaryOperatorKind
.Or
492
Case
BinaryOperatorKind
.LeftShift
498
Case
BinaryOperatorKind
.RightShift
Symbols\Source\SourceMemberContainerTypeSymbol.vb (6)
3651
Case
BinaryOperatorKind
.Equals
3653
Case
BinaryOperatorKind
.NotEquals
3655
Case
BinaryOperatorKind
.LessThan
3657
Case
BinaryOperatorKind
.GreaterThan
3659
Case
BinaryOperatorKind
.LessThanOrEqual
3661
Case
BinaryOperatorKind
.GreaterThanOrEqual
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
458
BinaryOperatorKind
.Is,