45 references to BindToTypeForErrorRecovery
Microsoft.CodeAnalysis.CSharp (45)
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
89
ImmutableArray.Create(
BindToTypeForErrorRecovery
(receiver)),
Binder\Binder_Attributes.cs (1)
193
static (arg, attributeArgumentBinder) => attributeArgumentBinder.
BindToTypeForErrorRecovery
(arg),
Binder\Binder_Expressions.cs (7)
163
ImmutableArray.Create(
BindToTypeForErrorRecovery
(childNode)),
176
childNodes.SelectAsArray((e, self) => self.
BindToTypeForErrorRecovery
(e), this),
217
ImmutableArray.Create(
BindToTypeForErrorRecovery
(expr)),
912
return
BindToTypeForErrorRecovery
(result);
1555
childBoundNodes: ImmutableArray.Create(
BindToTypeForErrorRecovery
(expression)),
3395
size =
BindToTypeForErrorRecovery
(size);
7093
boundLeft == null ? ImmutableArray<BoundExpression>.Empty : ImmutableArray.Create(
BindToTypeForErrorRecovery
(boundLeft)),
Binder\Binder_Invocation.cs (3)
1630
receiver =
BindToTypeForErrorRecovery
(receiver);
1756
newArguments[i] =
BindToTypeForErrorRecovery
(argument);
1761
newArguments[i] =
BindToTypeForErrorRecovery
(argument, getCorrespondingParameterType(i));
Binder\Binder_Operators.cs (18)
49
left =
BindToTypeForErrorRecovery
(left);
50
right =
BindToTypeForErrorRecovery
(right);
92
left =
BindToTypeForErrorRecovery
(left);
93
right =
BindToTypeForErrorRecovery
(right);
106
left =
BindToTypeForErrorRecovery
(left);
107
right =
BindToTypeForErrorRecovery
(right);
127
left =
BindToTypeForErrorRecovery
(left);
128
right =
BindToTypeForErrorRecovery
(right);
516
left =
BindToTypeForErrorRecovery
(left);
517
right =
BindToTypeForErrorRecovery
(right);
3897
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
3898
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
3912
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
3913
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
4101
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
4102
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
4154
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
4155
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
Binder\Binder_Patterns.cs (1)
572
convertedExpression =
BindToTypeForErrorRecovery
(convertedExpression);
Binder\Binder_Statements.cs (11)
249
argument =
BindToTypeForErrorRecovery
(argument);
1159
initializerOpt: hasErrors ?
BindToTypeForErrorRecovery
(initializerOpt)?.WithHasErrors() : initializerOpt,
1516
op2 =
BindToTypeForErrorRecovery
(op2);
2546
return BoundConversion.Synthesized(node,
BindToTypeForErrorRecovery
(expr), Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, ConstantValue.NotAvailable, boolean, hasErrors: true);
2945
return new BoundReturnStatement(syntax, refKind,
BindToTypeForErrorRecovery
(arg), @checked: CheckOverflowAtRuntime, hasErrors: true);
3022
return new BoundReturnStatement(syntax, refKind, hasErrors ?
BindToTypeForErrorRecovery
(arg) : arg, hasErrors);
3356
expression =
BindToTypeForErrorRecovery
(expression);
3367
expression =
BindToTypeForErrorRecovery
(expression);
3380
expression =
BindToTypeForErrorRecovery
(expression);
3398
expression =
BindToTypeForErrorRecovery
(expression);
3405
expression =
BindToTypeForErrorRecovery
(expression);
Binder\ForEachLoopBinder.cs (1)
377
iterationErrorExpression =
BindToTypeForErrorRecovery
(BindExpression(node.Variable, BindingDiagnosticBag.Discarded));
BoundTree\Constructors.cs (2)
137
receiverOpt: binder.
BindToTypeForErrorRecovery
(receiverOpt),
139
arguments: arguments.SelectAsArray((e, binder) => binder.
BindToTypeForErrorRecovery
(e), binder),