66 references to BindToNaturalType
Microsoft.CodeAnalysis.CSharp (66)
Binder\Binder_Conversions.cs (5)
122
source =
BindToNaturalType
(source, diagnostics);
304
BindToNaturalType
(source, diagnostics),
2241
withArgumentsBuilder.Add(
BindToNaturalType
(argument, diagnostics, reportNoTargetType));
2253
?
BindToNaturalType
(expression, diagnostics, reportNoTargetType)
2462
BindToNaturalType
(source, diagnostics),
Binder\Binder_Deconstruct.cs (3)
102
boundRight =
BindToNaturalType
(boundRight, diagnostics);
593
return (BoundTupleExpression)
BindToNaturalType
(new BoundTupleLiteral(syntax, arguments, tupleNames, inferredPositions, type), diagnostics);
632
receiver =
BindToNaturalType
(receiver, diagnostics);
Binder\Binder_Expressions.cs (13)
268
return
BindToNaturalType
(BindValue(node, diagnostics, BindValueKind.RValue), diagnostics, reportNoTargetType);
299
type is null ?
BindToNaturalType
(expression, diagnostics, reportNoTargetType: false) :
372
boundArgs.Add(
BindToNaturalType
(arg, diagnostics, reportNoTargetType));
3607
coercedArgument =
BindToNaturalType
(argument, diagnostics);
5464
childBoundNodes: [@this.
BindToNaturalType
(arg, diagnostics, reportNoTargetType: false)],
5543
BoundExpression argument = analyzedArguments.Arguments.Count >= 1 ?
BindToNaturalType
(analyzedArguments.Arguments[0], diagnostics) : null;
6650
arguments: boundElementInitializerExpressions.SelectAsArray(e =>
BindToNaturalType
(e, diagnostics)),
6743
BindToNaturalType
(element.Expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false),
7933
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
8016
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
8217
return
BindToNaturalType
(expr, diagnostics);
9611
receiver =
BindToNaturalType
(receiver, diagnostics);
10554
argument:
BindToNaturalType
(argument, diagnostics),
Binder\Binder_InterpolatedString.cs (2)
686
value =
BindToNaturalType
(value, conversionDiagnostics);
866
newValue =
BindToNaturalType
(insert.Value, diagnostics);
Binder\Binder_Invocation.cs (8)
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)
1985
boundValue =
BindToNaturalType
(boundValue, diagnostics);
1997
return
BindToNaturalType
(receiver, diagnostics);
2432
boundArgument =
BindToNaturalType
(boundArgument, diagnostics, reportNoTargetType: false);
2532
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),
1116
resultLeft =
BindToNaturalType
(resultLeft, diagnostics, reportNoTargetType: false);
1117
resultRight =
BindToNaturalType
(resultRight, diagnostics, reportNoTargetType: false);
1469
left =
BindToNaturalType
(left, diagnostics);
1470
right =
BindToNaturalType
(right, diagnostics);
3260
BoundExpression operand =
BindToNaturalType
(BindValue(operandSyntax, diagnostics, BindValueKind.IncrementDecrement), diagnostics);
4064
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
4111
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics);
4308
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
5587
leftOperand =
BindToNaturalType
(leftOperand, diagnostics);
5658
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
5725
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
5919
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
5920
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
5969
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
5970
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);
1437
op2 =
BindToNaturalType
(op2, diagnostics);
1521
op2 =
BindToNaturalType
(op2, diagnostics);
2704
BindToNaturalType
(expr, diagnostics),
2752
expr =
BindToNaturalType
(expr, diagnostics);
3220
return
BindToNaturalType
(argument, diagnostics);
3538
expression =
BindToNaturalType
(expression, diagnostics);
3568
expression =
BindToNaturalType
(expression, diagnostics);
3577
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);