64 references to BindToNaturalType
Microsoft.CodeAnalysis.CSharp (64)
Binder\Binder_Conversions.cs (4)
119
source =
BindToNaturalType
(source, diagnostics);
290
BindToNaturalType
(source, diagnostics),
1721
BindToNaturalType
(expression, diagnostics, reportNoTargetType: !targetType.IsErrorType()) :
2013
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 (13)
250
return
BindToNaturalType
(BindValue(node, diagnostics, BindValueKind.RValue), diagnostics, reportNoTargetType);
281
type is null ?
BindToNaturalType
(expression, diagnostics, reportNoTargetType: false) :
350
boundArgs.Add(
BindToNaturalType
(arg, diagnostics, reportNoTargetType));
3555
coercedArgument =
BindToNaturalType
(argument, diagnostics);
5413
BoundExpression argument = analyzedArguments.Arguments.Count >= 1 ?
BindToNaturalType
(analyzedArguments.Arguments[0], diagnostics) : null;
6520
arguments: boundElementInitializerExpressions.SelectAsArray(e =>
BindToNaturalType
(e, diagnostics)),
6613
BindToNaturalType
(element.Expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false),
7573
boundValue =
BindToNaturalType
(boundValue, valueDiagnostics);
7740
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7823
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
8024
return
BindToNaturalType
(expr, diagnostics);
9394
receiver =
BindToNaturalType
(receiver, diagnostics);
10337
argument:
BindToNaturalType
(argument, diagnostics),
Binder\Binder_InterpolatedString.cs (2)
686
value =
BindToNaturalType
(value, conversionDiagnostics);
866
newValue =
BindToNaturalType
(insert.Value, diagnostics);
Binder\Binder_Invocation.cs (7)
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)
1990
return
BindToNaturalType
(receiver, diagnostics);
2413
boundArgument =
BindToNaturalType
(boundArgument, diagnostics, reportNoTargetType: false);
2513
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),
1118
resultLeft =
BindToNaturalType
(resultLeft, diagnostics, reportNoTargetType: false);
1119
resultRight =
BindToNaturalType
(resultRight, diagnostics, reportNoTargetType: false);
1471
left =
BindToNaturalType
(left, diagnostics);
1472
right =
BindToNaturalType
(right, diagnostics);
3261
BoundExpression operand =
BindToNaturalType
(BindValue(operandSyntax, diagnostics, BindValueKind.IncrementDecrement), diagnostics);
4065
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
4112
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics);
4309
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
5588
leftOperand =
BindToNaturalType
(leftOperand, diagnostics);
5659
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
5726
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
5922
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
5923
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
5972
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
5973
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);