37 references to Add
Microsoft.CodeAnalysis.VisualBasic (37)
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 (3)
269
(preliminaryOperatorKind = BinaryOperatorKind.
Add
AndAlso
510
If (operatorKind And BinaryOperatorKind.OpMask) = BinaryOperatorKind.
Add
AndAlso operatorResultType.IsStringType() Then
1031
Case BinaryOperatorKind.
Add
,
Binding\Binder_Statements.vb (3)
2161
operatorKind = BinaryOperatorKind.
Add
3207
Dim addition As BoundUserDefinedBinaryOperator = BindForLoopUserDefinedOperator(syntax, BinaryOperatorKind.
Add
, leftOperandPlaceholder, rightOperandPlaceholder, diagnostics)
3277
Debug.Assert(opCode = BinaryOperatorKind.
Add
OrElse opCode = BinaryOperatorKind.Subtract OrElse opCode = BinaryOperatorKind.LessThanOrEqual OrElse opCode = BinaryOperatorKind.GreaterThanOrEqual)
Binding\DocumentationCommentCrefBinder.vb (1)
927
Dim opInfo As New OverloadResolution.OperatorInfo(BinaryOperatorKind.
Add
)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (1)
170
expression = New BoundBinaryOperator(syntax, BinaryOperatorKind.
Add
, expression,
Binding\SyntheticBoundTrees\SynthesizedStringSwitchHashMethod.vb (1)
114
F.Binary(BinaryOperatorKind.
Add
, i.Type,
BoundTree\BoundBinaryOperator.vb (1)
48
op = BinaryOperatorKind.
Add
OrElse
CodeGen\EmitConversion.vb (1)
119
Case BinaryOperatorKind.
Add
,
CodeGen\EmitOperators.vb (2)
247
BinaryOperatorKind.
Add
,
289
Case BinaryOperatorKind.
Add
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (6)
20
BinaryOperatorKind.
Add
,
121
Case BinaryOperatorKind.
Add
392
opKind = BinaryOperatorKind.
Add
OrElse opKind = BinaryOperatorKind.Subtract OrElse
471
Case BinaryOperatorKind.
Add
624
Case BinaryOperatorKind.
Add
688
Case BinaryOperatorKind.
Add
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
380
BinaryOperatorKind.
Add
,
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
379
Case BinaryOperatorKind.
Add
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (1)
389
BinaryOperatorKind.
Add
,
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
590
BinaryOperatorKind.
Add
,
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (1)
422
Case BinaryOperatorKind.
Add
,
Operations\VisualBasicOperationFactory_Methods.vb (1)
635
Case VisualBasic.BinaryOperatorKind.
Add
Semantics\Operators.vb (9)
95
operators.Add(WellKnownMemberNames.AdditionOperatorName, New OperatorInfo(BinaryOperatorKind.
Add
))
163
Case BinaryOperatorKind.
Add
220
Case BinaryOperatorKind.
Add
814
Case SyntaxKind.AddExpression : result = BinaryOperatorKind.
Add
1185
Case BinaryOperatorKind.
Add
1347
Case BinaryOperatorKind.
Add
1467
Case BinaryOperatorKind.
Add
1651
Case BinaryOperatorKind.
Add
3027
Case BinaryOperatorKind.
Add
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
462
Case BinaryOperatorKind.
Add
,