57 references to BindToNaturalType
Microsoft.CodeAnalysis.CSharp (57)
Binder\Binder_Conversions.cs (2)
119
source =
BindToNaturalType
(source, diagnostics);
290
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 (10)
249
return
BindToNaturalType
(BindValue(node, diagnostics, BindValueKind.RValue), diagnostics, reportNoTargetType);
275
type is null ?
BindToNaturalType
(expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false) :
340
boundArgs.Add(
BindToNaturalType
(arg, diagnostics, reportNoTargetType));
3532
coercedArgument =
BindToNaturalType
(argument, diagnostics);
6575
BindToNaturalType
(element.Expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false),
7534
boundValue =
BindToNaturalType
(boundValue, valueDiagnostics);
7701
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7784
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7985
return
BindToNaturalType
(expr, diagnostics);
9366
receiver =
BindToNaturalType
(receiver, diagnostics);
Binder\Binder_InterpolatedString.cs (2)
686
value =
BindToNaturalType
(value, conversionDiagnostics);
866
newValue =
BindToNaturalType
(insert.Value, diagnostics);
Binder\Binder_Invocation.cs (5)
103
receiver =
BindToNaturalType
(receiver, diagnostics);
468
expression =
BindToNaturalType
(expression, diagnostics);
1926
return
BindToNaturalType
(receiver, diagnostics);
2338
boundArgument =
BindToNaturalType
(boundArgument, diagnostics, reportNoTargetType: false);
2439
boundExpression =
BindToNaturalType
(boundExpression, diagnostics);
Binder\Binder_Operators.cs (19)
64
left =
BindToNaturalType
(left, diagnostics);
67
right =
BindToNaturalType
(right, diagnostics);
558
left:
BindToNaturalType
(left, diagnostics),
559
right:
BindToNaturalType
(right, diagnostics),
823
resultLeft =
BindToNaturalType
(resultLeft, diagnostics, reportNoTargetType: false);
824
resultRight =
BindToNaturalType
(resultRight, diagnostics, reportNoTargetType: false);
1103
left =
BindToNaturalType
(left, diagnostics);
1104
right =
BindToNaturalType
(right, diagnostics);
2416
BoundExpression operand =
BindToNaturalType
(BindValue(operandSyntax, diagnostics, BindValueKind.IncrementDecrement), diagnostics);
2860
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
2907
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics);
3104
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
4378
leftOperand =
BindToNaturalType
(leftOperand, diagnostics);
4449
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
4516
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
4712
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
4713
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
4762
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
4763
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
Binder\Binder_Patterns.cs (1)
668
convertedExpression =
BindToNaturalType
(expression, diagnostics);
Binder\Binder_Query.cs (1)
40
boundFromExpression =
BindToNaturalType
(boundFromExpression, diagnostics);
Binder\Binder_Statements.cs (11)
406
boundExpr =
BindToNaturalType
(boundExpr, diagnostics);
896
BindToNaturalType
(value, diagnostics);
1315
initializerOpt =
BindToNaturalType
(initializerOpt, diagnostics, reportNoTargetType: false);
1431
op2 =
BindToNaturalType
(op2, diagnostics);
1515
op2 =
BindToNaturalType
(op2, diagnostics);
2674
BindToNaturalType
(expr, diagnostics),
2721
expr =
BindToNaturalType
(expr, diagnostics);
3187
return
BindToNaturalType
(argument, diagnostics);
3505
expression =
BindToNaturalType
(expression, diagnostics);
3535
expression =
BindToNaturalType
(expression, diagnostics);
3544
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);