58 references to BindValue
Microsoft.CodeAnalysis.CSharp (58)
Binder\Binder_Attributes.cs (1)
569BoundExpression namedArgumentValue = this.BindValue(namedArgument.Expression, diagnostics, BindValueKind.RValue);
Binder\Binder_Deconstruct.cs (1)
99BoundExpression boundRight = rightPlaceholder ?? BindValue(right, deconstructionDiagnostics, BindValueKind.RValue);
Binder\Binder_Expressions.cs (22)
268return BindToNaturalType(BindValue(node, diagnostics, BindValueKind.RValue), diagnostics, reportNoTargetType); 545valueBeforeConversion = defaultValueBinder.BindValue(defaultValueSyntax.Value, diagnostics, BindValueKind.RValue); 563var initializer = initializerBinder.BindValue(equalsValueSyntax.Value, diagnostics, BindValueKind.RValue); 896node, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(BindToTypeForErrorRecovery(BindValue(node.Expression, BindingDiagnosticBag.Discarded, BindValueKind.RefersToLocation))), 1048ImmutableArray.Create(BindValue(arguments[0].Expression, diagnostics, BindValueKind.RValue)) : 1078BoundExpression boundArgument = BindValue(argumentSyntax.Expression, diagnostics, BindValueKind.RValue); 1259BoundExpression argument = BindValue(node.Expression, diagnostics, BindValueKind.RValue); 1282BoundExpression argument = this.BindValue(node.Expression, diagnostics, BindValueKind.RefOrOut); 1307BoundExpression argument = BindValue(node.Expression, diagnostics, BindValueKind.RValue); 2663BoundExpression operand = this.BindValue(node.Expression, diagnostics, BindValueKind.RValue); 2688BoundExpression boundOperand = BindValue(node.Operand, diagnostics, BindValueKind.RValue); 2796BoundExpression boundOperand = BindValue(operand, diagnostics, BindValueKind.RValue); 3494argument = this.BindValue(argumentExpression, diagnostics, valueKind); 4183var size = BindValue(dimension, diagnostics, BindValueKind.RValue); 4299var boundExpression = BindValue(expression, diagnostics, BindValueKind.RValue); 4316var boundExpression = BindValue(expression, diagnostics, BindValueKind.RValue); 4645count = BindValue(countSyntax, diagnostics, BindValueKind.RValue); 5388ExpressionElementSyntax expressionElementSyntax => @this.BindValue(expressionElementSyntax.Expression, diagnostics, BindValueKind.RValue), 5844return BindValue(syntax, diagnostics, rhsValueKind); 5956var boundExpression = BindValue(memberInitializer, diagnostics, BindValueKind.RValue); 6549exprBuilder.Add(BindValue(childElementInitializer, diagnostics, BindValueKind.RValue)); 12344var access = conditionalAccessBinder.BindValue(node.WhenNotNull, diagnostics, BindValueKind.RValue);
Binder\Binder_InterpolatedString.cs (2)
90var value = BindValue(interpolation.Expression, diagnostics, BindValueKind.RValue); 101alignment = GenerateConversionForAssignment(intType, BindValue(interpolation.AlignmentClause.Value, diagnostics, Binder.BindValueKind.RValue), diagnostics);
Binder\Binder_Operators.cs (15)
35BoundExpression left = BindValue(node.Left, diagnostics, BindValueKind.CompoundAssignment); 37BoundExpression right = BindValue(node.Right, diagnostics, BindValueKind.RValue); 927BoundExpression right = BindValue(syntaxNode.Right, diagnostics, BindValueKind.RValue); 3274BoundExpression operand = BindToNaturalType(BindValue(operandSyntax, diagnostics, BindValueKind.IncrementDecrement), diagnostics); 4081BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics); 4135BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics); 4332BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics); 5688var leftOperand = BindValue(node.Left, diagnostics, BindValueKind.RValue); 5690var rightOperand = BindValue(node.Right, diagnostics, BindValueKind.RValue); 5877BoundExpression leftOperand = BindValue(node.Left, diagnostics, BindValueKind.NullCoalescingAssignment); 5879BoundExpression rightOperand = BindValue(node.Right, diagnostics, BindValueKind.RValue); 6004BoundExpression trueExpr = BindValue(whenTrue, diagnostics, BindValueKind.RValue); 6005BoundExpression falseExpr = BindValue(whenFalse, diagnostics, BindValueKind.RValue); 6045BoundExpression trueExpr = BindValue(whenTrue, diagnostics, BindValueKind.RValue | BindValueKind.RefersToLocation); 6046BoundExpression falseExpr = BindValue(whenFalse, diagnostics, BindValueKind.RValue | BindValueKind.RefersToLocation);
Binder\Binder_Query.cs (2)
842BoundExpression boundExpression = lambdaBodyBinder.BindValue(expression, diagnostics, BindValueKind.RValue); 852BoundExpression boundExpression = lambdaBodyBinder.BindValue(expression, diagnostics, BindValueKind.RValue);
Binder\Binder_Statements.cs (10)
240: BindValue(node.Expression, diagnostics, BindValueKind.RValue); 395var boundExpr = BindValue(exprSyntax, diagnostics, BindValueKind.RValue); 898BoundExpression value = BindValue(initializer, diagnostics, valueKind); 1428var op1 = BindValue(node.Left, diagnostics, lhsKind); 1432var op2 = BindValue(rhsExpr, diagnostics, rhsKind); 1876return BindValue(node, diagnostics, valueKind); 2686var expr = BindValue(node, diagnostics, BindValueKind.RValue); 3069arg = BindValue(expressionSyntax, diagnostics, requiredValueKind); 3668BoundExpression expression = bodyBinder.BindValue(expressionSyntax, diagnostics, requiredValueKind); 3684BoundExpression expression = bodyBinder.BindValue(expressionSyntax, diagnostics, requiredValueKind);
Binder\ForEachLoopBinder.cs (1)
631BoundExpression collectionExpr = this.GetBinder(collectionSyntax).BindValue(collectionSyntax, diagnostics, BindValueKind.RValue);
Binder\LockOrUsingBinder.cs (1)
84BoundExpression boundExpression = originalBinder.BindValue(TargetExpressionSyntax, expressionDiagnostics, Binder.BindValueKind.RValueOrMethodGroup);
Binder\SwitchBinder.cs (1)
520gotoCaseExpressionOpt = gotoBinder.BindValue(node.Expression, diagnostics, BindValueKind.RValue);
Binder\SwitchExpressionArmBinder.cs (1)
48BoundExpression armResult = armBinder.BindValue(node.Expression, diagnostics, BindValueKind.RValue);
Symbols\Source\SourceFixedFieldSymbol.cs (1)
93binder.BindValue(sizeExpression, diagnostics, Binder.BindValueKind.RValue),