64 references to BindToNaturalType
Microsoft.CodeAnalysis.CSharp (64)
Binder\Binder_Conversions.cs (4)
119
source =
BindToNaturalType
(source, diagnostics);
296
BindToNaturalType
(source, diagnostics),
1727
BindToNaturalType
(expression, diagnostics, reportNoTargetType: !targetType.IsErrorType()) :
2019
BindToNaturalType
(source, diagnostics),
Binder\Binder_Deconstruct.cs (3)
102
boundRight =
BindToNaturalType
(boundRight, diagnostics);
591
return (BoundTupleExpression)
BindToNaturalType
(new BoundTupleLiteral(syntax, arguments, tupleNames, inferredPositions, type), diagnostics);
630
receiver =
BindToNaturalType
(receiver, diagnostics);
Binder\Binder_Expressions.cs (12)
268
return
BindToNaturalType
(BindValue(node, diagnostics, BindValueKind.RValue), diagnostics, reportNoTargetType);
299
type is null ?
BindToNaturalType
(expression, diagnostics, reportNoTargetType: false) :
372
boundArgs.Add(
BindToNaturalType
(arg, diagnostics, reportNoTargetType));
3597
coercedArgument =
BindToNaturalType
(argument, diagnostics);
5455
BoundExpression argument = analyzedArguments.Arguments.Count >= 1 ?
BindToNaturalType
(analyzedArguments.Arguments[0], diagnostics) : null;
6562
arguments: boundElementInitializerExpressions.SelectAsArray(e =>
BindToNaturalType
(e, diagnostics)),
6655
BindToNaturalType
(element.Expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false),
7811
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7894
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
8095
return
BindToNaturalType
(expr, diagnostics);
9484
receiver =
BindToNaturalType
(receiver, diagnostics);
10427
argument:
BindToNaturalType
(argument, diagnostics),
Binder\Binder_InterpolatedString.cs (2)
686
value =
BindToNaturalType
(value, conversionDiagnostics);
866
newValue =
BindToNaturalType
(insert.Value, diagnostics);
Binder\Binder_Invocation.cs (8)
104
receiver =
BindToNaturalType
(receiver, diagnostics);
303
analyzedArguments.Arguments[i] =
BindToNaturalType
(analyzedArguments.Arguments[i], diagnostics);
476
expression =
BindToNaturalType
(expression, diagnostics);
542
var arg =>
BindToNaturalType
(arg, diagnostics)
1976
boundValue =
BindToNaturalType
(boundValue, diagnostics);
1988
return
BindToNaturalType
(receiver, diagnostics);
2423
boundArgument =
BindToNaturalType
(boundArgument, diagnostics, reportNoTargetType: false);
2523
boundExpression =
BindToNaturalType
(boundExpression, diagnostics);
Binder\Binder_Operators.cs (19)
71
left =
BindToNaturalType
(left, diagnostics);
74
right =
BindToNaturalType
(right, diagnostics);
848
left:
BindToNaturalType
(left, diagnostics),
849
right:
BindToNaturalType
(right, diagnostics),
1116
resultLeft =
BindToNaturalType
(resultLeft, diagnostics, reportNoTargetType: false);
1117
resultRight =
BindToNaturalType
(resultRight, diagnostics, reportNoTargetType: false);
1469
left =
BindToNaturalType
(left, diagnostics);
1470
right =
BindToNaturalType
(right, diagnostics);
3259
BoundExpression operand =
BindToNaturalType
(BindValue(operandSyntax, diagnostics, BindValueKind.IncrementDecrement), diagnostics);
4063
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
4110
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics);
4307
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
5586
leftOperand =
BindToNaturalType
(leftOperand, diagnostics);
5657
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
5724
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
5918
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
5919
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
5968
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
5969
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
Binder\Binder_Patterns.cs (1)
680
convertedExpression =
BindToNaturalType
(expression, diagnostics);
Binder\Binder_Query.cs (1)
40
boundFromExpression =
BindToNaturalType
(boundFromExpression, diagnostics);
Binder\Binder_Statements.cs (11)
406
boundExpr =
BindToNaturalType
(boundExpr, diagnostics);
901
BindToNaturalType
(value, diagnostics);
1320
initializerOpt =
BindToNaturalType
(initializerOpt, diagnostics, reportNoTargetType: false);
1436
op2 =
BindToNaturalType
(op2, diagnostics);
1520
op2 =
BindToNaturalType
(op2, diagnostics);
2703
BindToNaturalType
(expr, diagnostics),
2750
expr =
BindToNaturalType
(expr, diagnostics);
3217
return
BindToNaturalType
(argument, diagnostics);
3535
expression =
BindToNaturalType
(expression, diagnostics);
3565
expression =
BindToNaturalType
(expression, diagnostics);
3574
expression =
BindToNaturalType
(expression, diagnostics);
Binder\Binder_TupleOperators.cs (2)
51
return
BindToNaturalType
(expr, diagnostics, reportNoTargetType: false);
69
return
BindToNaturalType
(expr, diagnostics, reportNoTargetType: false);
Binder\LockOrUsingBinder.cs (1)
91
boundExpression = originalBinder.
BindToNaturalType
(boundExpression, expressionDiagnostics);