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)
244
return
BindToNaturalType
(BindValue(node, diagnostics, BindValueKind.RValue), diagnostics, reportNoTargetType);
270
type is null ?
BindToNaturalType
(expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false) :
335
boundArgs.Add(
BindToNaturalType
(arg, diagnostics, reportNoTargetType));
3552
coercedArgument =
BindToNaturalType
(argument, diagnostics);
6524
BindToNaturalType
(element.Expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false),
7485
boundValue =
BindToNaturalType
(boundValue, valueDiagnostics);
7652
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7735
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7919
return
BindToNaturalType
(expr, diagnostics);
8990
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);
467
expression =
BindToNaturalType
(expression, diagnostics);
1871
return
BindToNaturalType
(receiver, diagnostics);
2246
boundArgument =
BindToNaturalType
(boundArgument, diagnostics, reportNoTargetType: false);
2344
boundExpression =
BindToNaturalType
(boundExpression, diagnostics);
Binder\Binder_Operators.cs (19)
61
left =
BindToNaturalType
(left, diagnostics);
62
right =
BindToNaturalType
(right, diagnostics);
413
left:
BindToNaturalType
(left, diagnostics),
414
right:
BindToNaturalType
(right, diagnostics),
678
resultLeft =
BindToNaturalType
(resultLeft, diagnostics, reportNoTargetType: false);
679
resultRight =
BindToNaturalType
(resultRight, diagnostics, reportNoTargetType: false);
958
left =
BindToNaturalType
(left, diagnostics);
959
right =
BindToNaturalType
(right, diagnostics);
2264
BoundExpression operand =
BindToNaturalType
(BindValue(operandSyntax, diagnostics, BindValueKind.IncrementDecrement), diagnostics);
2465
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
2512
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics);
2709
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
3983
leftOperand =
BindToNaturalType
(leftOperand, diagnostics);
4054
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
4121
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
4317
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
4318
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
4367
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
4368
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);
894
BindToNaturalType
(value, diagnostics);
1315
initializerOpt =
BindToNaturalType
(initializerOpt, diagnostics, reportNoTargetType: false);
1431
op2 =
BindToNaturalType
(op2, diagnostics);
1504
op2 =
BindToNaturalType
(op2, diagnostics);
2658
BindToNaturalType
(expr, diagnostics),
2705
expr =
BindToNaturalType
(expr, diagnostics);
3171
return
BindToNaturalType
(argument, diagnostics);
3487
expression =
BindToNaturalType
(expression, diagnostics);
3517
expression =
BindToNaturalType
(expression, diagnostics);
3526
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);