57 references to BindValue
Microsoft.CodeAnalysis.CSharp (56)
Binder\Binder_Attributes.cs (1)
541BoundExpression 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 (20)
241return BindToNaturalType(BindValue(node, diagnostics, BindValueKind.RValue), diagnostics, reportNoTargetType); 487valueBeforeConversion = defaultValueBinder.BindValue(defaultValueSyntax.Value, diagnostics, BindValueKind.RValue); 505var initializer = initializerBinder.BindValue(equalsValueSyntax.Value, diagnostics, BindValueKind.RValue); 970ImmutableArray.Create(BindValue(arguments[0].Expression, diagnostics, BindValueKind.RValue)) : 1000BoundExpression boundArgument = BindValue(argumentSyntax.Expression, diagnostics, BindValueKind.RValue); 1181BoundExpression argument = BindValue(node.Expression, diagnostics, BindValueKind.RValue); 1204BoundExpression argument = this.BindValue(node.Expression, diagnostics, BindValueKind.RefOrOut); 1229BoundExpression argument = BindValue(node.Expression, diagnostics, BindValueKind.RValue); 2326BoundExpression operand = this.BindValue(node.Expression, diagnostics, BindValueKind.RValue); 2351BoundExpression boundOperand = BindValue(node.Operand, diagnostics, BindValueKind.RValue); 2459BoundExpression boundOperand = BindValue(operand, diagnostics, BindValueKind.RValue); 3149argument = this.BindValue(argumentExpression, diagnostics, valueKind); 3383var size = BindValue(dimension, diagnostics, BindValueKind.RValue); 3499var boundExpression = BindValue(expression, diagnostics, BindValueKind.RValue); 3516var boundExpression = BindValue(expression, diagnostics, BindValueKind.RValue); 3845count = BindValue(countSyntax, diagnostics, BindValueKind.RValue); 4806return BindValue(syntax, diagnostics, rhsValueKind); 4904var boundExpression = BindValue(memberInitializer, diagnostics, BindValueKind.RValue); 5449exprBuilder.Add(BindValue(childElementInitializer, diagnostics, BindValueKind.RValue)); 9341var 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)
25BoundExpression left = BindValue(node.Left, diagnostics, GetBinaryAssignmentKind(node.Kind())); 27BoundExpression right = BindValue(node.Right, diagnostics, BindValueKind.RValue); 496BoundExpression right = BindValue(syntaxNode.Right, diagnostics, BindValueKind.RValue); 2233BoundExpression operand = BindToNaturalType(BindValue(operandSyntax, diagnostics, BindValueKind.IncrementDecrement), diagnostics); 2434BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics); 2481BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics); 2666BoundExpression operand = BindToNaturalType(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics); 3905var leftOperand = BindValue(node.Left, diagnostics, BindValueKind.RValue); 3907var rightOperand = BindValue(node.Right, diagnostics, BindValueKind.RValue); 4094BoundExpression leftOperand = BindValue(node.Left, diagnostics, BindValueKind.CompoundAssignment); 4096BoundExpression rightOperand = BindValue(node.Right, diagnostics, BindValueKind.RValue); 4223BoundExpression trueExpr = BindValue(whenTrue, diagnostics, BindValueKind.RValue); 4224BoundExpression falseExpr = BindValue(whenFalse, diagnostics, BindValueKind.RValue); 4269BoundExpression trueExpr = BindValue(whenTrue, diagnostics, BindValueKind.RValue | BindValueKind.RefersToLocation); 4270BoundExpression falseExpr = BindValue(whenFalse, diagnostics, BindValueKind.RValue | BindValueKind.RefersToLocation);
Binder\Binder_Query.cs (2)
836BoundExpression boundExpression = lambdaBodyBinder.BindValue(expression, diagnostics, BindValueKind.RValue); 846BoundExpression boundExpression = lambdaBodyBinder.BindValue(expression, diagnostics, BindValueKind.RValue);
Binder\Binder_Statements.cs (10)
241: BindValue(node.Expression, diagnostics, BindValueKind.RValue); 392var boundExpr = BindValue(exprSyntax, diagnostics, BindValueKind.RValue); 894BoundExpression value = BindValue(initializer, diagnostics, valueKind); 1431var op1 = BindValue(node.Left, diagnostics, lhsKind); 1435var op2 = BindValue(rhsExpr, diagnostics, rhsKind); 1821return BindValue(node, diagnostics, valueKind); 2538var expr = BindValue(node, diagnostics, BindValueKind.RValue); 2894arg = BindValue(expressionSyntax, diagnostics, requiredValueKind); 3475BoundExpression expression = bodyBinder.BindValue(expressionSyntax, diagnostics, requiredValueKind); 3491BoundExpression expression = bodyBinder.BindValue(expressionSyntax, diagnostics, requiredValueKind);
Binder\ForEachLoopBinder.cs (1)
609BoundExpression 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)
493gotoCaseExpressionOpt = gotoBinder.BindValue(node.Expression, diagnostics, BindValueKind.RValue);
Binder\SwitchExpressionArmBinder.cs (1)
46BoundExpression armResult = armBinder.BindValue(node.Expression, diagnostics, BindValueKind.RValue);
Symbols\Source\SourceFixedFieldSymbol.cs (1)
92binder.BindValue(sizeExpression, diagnostics, Binder.BindValueKind.RValue),
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
CompilationContext.cs (1)
770var expression = binder.BindValue(syntax, new BindingDiagnosticBag(diagnostics), Binder.BindValueKind.RValue);