66 references to BindToNaturalType
Microsoft.CodeAnalysis.CSharp (66)
Binder\Binder_Conversions.cs (5)
122
source =
BindToNaturalType
(source, diagnostics);
304
BindToNaturalType
(source, diagnostics),
2246
withArgumentsBuilder.Add(
BindToNaturalType
(argument, diagnostics, reportNoTargetType));
2258
?
BindToNaturalType
(expression, diagnostics, reportNoTargetType)
2467
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));
3608
coercedArgument =
BindToNaturalType
(argument, diagnostics);
5468
childBoundNodes: [@this.
BindToNaturalType
(arg, diagnostics, reportNoTargetType: false)],
5547
BoundExpression argument = analyzedArguments.Arguments.Count >= 1 ?
BindToNaturalType
(analyzedArguments.Arguments[0], diagnostics) : null;
6653
arguments: boundElementInitializerExpressions.SelectAsArray(e =>
BindToNaturalType
(e, diagnostics)),
6746
BindToNaturalType
(element.Expression, BindingDiagnosticBag.Discarded, reportNoTargetType: false),
7942
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
8025
boundLeft =
BindToNaturalType
(boundLeft, diagnostics);
8227
return
BindToNaturalType
(expr, diagnostics);
9640
receiver =
BindToNaturalType
(receiver, diagnostics);
10585
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)
1986
boundValue =
BindToNaturalType
(boundValue, diagnostics);
1998
return
BindToNaturalType
(receiver, diagnostics);
2433
boundArgument =
BindToNaturalType
(boundArgument, diagnostics, reportNoTargetType: false);
2533
boundExpression =
BindToNaturalType
(boundExpression, diagnostics);
Binder\Binder_Operators.cs (19)
71
left =
BindToNaturalType
(left, diagnostics);
74
right =
BindToNaturalType
(right, diagnostics);
846
left:
BindToNaturalType
(left, diagnostics),
847
right:
BindToNaturalType
(right, diagnostics),
1114
resultLeft =
BindToNaturalType
(resultLeft, diagnostics, reportNoTargetType: false);
1115
resultRight =
BindToNaturalType
(resultRight, diagnostics, reportNoTargetType: false);
1463
left =
BindToNaturalType
(left, diagnostics);
1464
right =
BindToNaturalType
(right, diagnostics);
3251
BoundExpression operand =
BindToNaturalType
(BindValue(operandSyntax, diagnostics, BindValueKind.IncrementDecrement), diagnostics);
4056
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
4110
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, BindValueKind.AddressOf), diagnostics);
4307
BoundExpression operand =
BindToNaturalType
(BindValue(node.Operand, diagnostics, GetUnaryAssignmentKind(node.Kind())), diagnostics);
5586
leftOperand =
BindToNaturalType
(leftOperand, diagnostics);
5657
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
5724
rightOperand =
BindToNaturalType
(rightOperand, diagnostics);
5918
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
5919
falseExpr =
BindToNaturalType
(falseExpr, diagnostics, reportNoTargetType: false);
5968
trueExpr =
BindToNaturalType
(trueExpr, diagnostics, reportNoTargetType: false);
5969
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);
3221
return
BindToNaturalType
(argument, diagnostics);
3554
expression =
BindToNaturalType
(expression, diagnostics);
3584
expression =
BindToNaturalType
(expression, diagnostics);
3593
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);