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));
3584
coercedArgument =
BindToNaturalType
(argument, diagnostics);
6556
BindToNaturalType
(element.Expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false),
7515
boundValue =
BindToNaturalType
(boundValue, valueDiagnostics);
7682
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7765
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7949
return
BindToNaturalType
(expr, diagnostics);
9020
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);
2269
BoundExpression operand =
BindToNaturalType
(BindValue(operandSyntax, diagnostics, BindValueKind.IncrementDecrement), diagnostics);
2470
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
2517
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics);
2714
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
3988
leftOperand =
BindToNaturalType
(leftOperand, diagnostics);
4059
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
4126
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
4322
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
4323
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
4372
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
4373
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);