57 references to BindToNaturalType
Microsoft.CodeAnalysis.CSharp (57)
Binder\Binder_Conversions.cs (2)
118
source =
BindToNaturalType
(source, diagnostics);
294
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));
3511
coercedArgument =
BindToNaturalType
(argument, diagnostics);
6425
BindToNaturalType
(element.Expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false),
7386
boundValue =
BindToNaturalType
(boundValue, valueDiagnostics);
7553
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7636
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
7820
return
BindToNaturalType
(expr, diagnostics);
8891
receiver =
BindToNaturalType
(receiver, diagnostics);
Binder\Binder_InterpolatedString.cs (2)
548
value =
BindToNaturalType
(value, conversionDiagnostics);
728
newValue =
BindToNaturalType
(insert.Value, diagnostics);
Binder\Binder_Invocation.cs (5)
103
receiver =
BindToNaturalType
(receiver, diagnostics);
467
expression =
BindToNaturalType
(expression, diagnostics);
1923
return
BindToNaturalType
(receiver, diagnostics);
2298
boundArgument =
BindToNaturalType
(boundArgument, diagnostics, reportNoTargetType: false);
2396
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);
3981
leftOperand =
BindToNaturalType
(leftOperand, diagnostics);
4052
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
4119
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
4315
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
4316
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
4365
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
4366
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)
405
boundExpr =
BindToNaturalType
(boundExpr, diagnostics);
893
BindToNaturalType
(value, diagnostics);
1314
initializerOpt =
BindToNaturalType
(initializerOpt, diagnostics, reportNoTargetType: false);
1430
op2 =
BindToNaturalType
(op2, diagnostics);
1501
op2 =
BindToNaturalType
(op2, diagnostics);
2562
BindToNaturalType
(expr, diagnostics),
2609
expr =
BindToNaturalType
(expr, diagnostics);
3075
return
BindToNaturalType
(argument, diagnostics);
3391
expression =
BindToNaturalType
(expression, diagnostics);
3421
expression =
BindToNaturalType
(expression, diagnostics);
3430
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);