45 references to OrElse
Microsoft.CodeAnalysis.VisualBasic (43)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
2148
BinaryOperatorKind.
OrElse
2166
Case BinaryOperatorKind.
OrElse
2188
BinaryOperatorKind.
OrElse
Binding\Binder_Operators.vb (5)
133
preliminaryOperatorKind = BinaryOperatorKind.
OrElse
)
280
If preliminaryOperatorKind = BinaryOperatorKind.AndAlso OrElse preliminaryOperatorKind = BinaryOperatorKind.
OrElse
Then
403
If Not isSelectCase OrElse preliminaryOperatorKind <> BinaryOperatorKind.
OrElse
Then
629
Debug.Assert(opKind = BinaryOperatorKind.AndAlso OrElse opKind = BinaryOperatorKind.
OrElse
)
997
Case BinaryOperatorKind.
OrElse
,
Binding\Binder_SelectCase.vb (1)
426
preliminaryOperatorKind:=BinaryOperatorKind.
OrElse
,
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (1)
320
Return New BoundBinaryOperator(Syntax, BinaryOperatorKind.
OrElse
,
CodeGen\EmitOperators.vb (3)
99
Dim shortCircuit As Boolean = operationKind = BinaryOperatorKind.AndAlso OrElse operationKind = BinaryOperatorKind.
OrElse
118
Case BinaryOperatorKind.
OrElse
,
436
Case BinaryOperatorKind.
OrElse
CodeGen\EmitStatement.vb (1)
697
Case BinaryOperatorKind.
OrElse
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
939
Case BinaryOperatorKind.AndAlso, BinaryOperatorKind.
OrElse
977
Case BinaryOperatorKind.AndAlso, BinaryOperatorKind.
OrElse
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
171
If operatorKind = BinaryOperatorKind.AndAlso OrElse operatorKind = BinaryOperatorKind.
OrElse
Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (4)
50
Case BinaryOperatorKind.
OrElse
,
110
opKind = If(opKind = BinaryOperatorKind.And, BinaryOperatorKind.AndAlso, BinaryOperatorKind.
OrElse
)
275
Debug.Assert(opKind = BinaryOperatorKind.AndAlso OrElse opKind = BinaryOperatorKind.
OrElse
)
633
Case BinaryOperatorKind.
OrElse
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
377
BinaryOperatorKind.
OrElse
,
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (12)
106
Case BinaryOperatorKind.AndAlso, BinaryOperatorKind.
OrElse
146
If optimizeForConditionalBranch AndAlso (binary.OperatorKind And BinaryOperatorKind.OpMask) <> BinaryOperatorKind.
OrElse
Then
441
Case BinaryOperatorKind.
OrElse
, BinaryOperatorKind.AndAlso
809
(node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.
OrElse
OrElse
823
(leftHasValue OrElse Not Me._inExpressionLambda OrElse (node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.
OrElse
) Then
857
BinaryOperatorKind.
OrElse
958
Debug.Assert(leftHasValue OrElse Not Me._inExpressionLambda OrElse (node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.
OrElse
)
967
If (node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.
OrElse
Then
1002
BinaryOperatorKind.
OrElse
,
1030
Debug.Assert(leftHasValue OrElse (node.OperatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.
OrElse
)
1076
Dim isOr As Boolean = (op = BinaryOperatorKind.
OrElse
) OrElse
1171
Dim IsShortCircuited = (op = BinaryOperatorKind.AndAlso Or op = BinaryOperatorKind.
OrElse
)
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (1)
403
BinaryOperatorKind.
OrElse
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (1)
48
Case BinaryOperatorKind.AndAlso, BinaryOperatorKind.
OrElse
Lowering\SyntheticBoundNodeFactory.vb (1)
427
Return Binary(BinaryOperatorKind.
OrElse
, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean), left, right)
Operations\VisualBasicOperationFactory_Methods.vb (1)
655
Case VisualBasic.BinaryOperatorKind.
OrElse
Semantics\Operators.vb (5)
205
Case BinaryOperatorKind.
OrElse
833
Case SyntaxKind.OrElseExpression : result = BinaryOperatorKind.
OrElse
1614
Case BinaryOperatorKind.
OrElse
,
1672
Case BinaryOperatorKind.
OrElse
,
3109
Case BinaryOperatorKind.Or, BinaryOperatorKind.
OrElse
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\BinaryOperators.vb (2)
899
BinaryOperatorKind.
OrElse
,
1080
Case BinaryOperatorKind.AndAlso, BinaryOperatorKind.
OrElse
, BinaryOperatorKind.Is, BinaryOperatorKind.IsNot