44 references to BindToTypeForErrorRecovery
Microsoft.CodeAnalysis.CSharp (44)
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
89
ImmutableArray.Create(
BindToTypeForErrorRecovery
(receiver)),
Binder\Binder_Expressions.cs (9)
164
ImmutableArray.Create(
BindToTypeForErrorRecovery
(childNode)),
220
ImmutableArray.Create(
BindToTypeForErrorRecovery
(expr)),
854
node, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(
BindToTypeForErrorRecovery
(BindValue(node.Expression, BindingDiagnosticBag.Discarded, BindValueKind.RefersToLocation))),
948
return
BindToTypeForErrorRecovery
(result);
1674
childBoundNodes: ImmutableArray.Create(
BindToTypeForErrorRecovery
(expression)),
4084
size =
BindToTypeForErrorRecovery
(size);
4517
builder.Add(
BindToTypeForErrorRecovery
(BindExpression(size, BindingDiagnosticBag.Discarded)));
5773
return
BindToTypeForErrorRecovery
(ToBadExpression(boundExpression, LookupResultKind.NotAValue));
8193
boundLeft == null ? ImmutableArray<BoundExpression>.Empty : ImmutableArray.Create(
BindToTypeForErrorRecovery
(boundLeft)),
Binder\Binder_Invocation.cs (1)
1952
receiver =
BindToTypeForErrorRecovery
(receiver);
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);
3979
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
3980
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
3994
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
3995
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
4183
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
4184
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
4236
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
4237
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
Binder\Binder_Patterns.cs (1)
581
convertedExpression =
BindToTypeForErrorRecovery
(convertedExpression);
Binder\Binder_Statements.cs (12)
248
argument =
BindToTypeForErrorRecovery
(argument);
1158
initializerOpt: hasErrors ?
BindToTypeForErrorRecovery
(initializerOpt)?.WithHasErrors() : initializerOpt,
1495
op1 =
BindToTypeForErrorRecovery
(op1);
1520
op1 =
BindToTypeForErrorRecovery
(op1);
1521
op2 =
BindToTypeForErrorRecovery
(op2);
2663
return BoundConversion.Synthesized(node,
BindToTypeForErrorRecovery
(expr), Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, ConstantValue.NotAvailable, boolean, hasErrors: true);
3139
return new BoundReturnStatement(syntax, refKind, hasErrors ?
BindToTypeForErrorRecovery
(arg) : arg, hasErrors);
3475
expression =
BindToTypeForErrorRecovery
(expression);
3486
expression =
BindToTypeForErrorRecovery
(expression);
3499
expression =
BindToTypeForErrorRecovery
(expression);
3517
expression =
BindToTypeForErrorRecovery
(expression);
3524
expression =
BindToTypeForErrorRecovery
(expression);
Binder\ForEachLoopBinder.cs (1)
401
iterationErrorExpression =
BindToTypeForErrorRecovery
(BindExpression(node.Variable, BindingDiagnosticBag.Discarded));
BoundTree\Constructors.cs (1)
141
receiverOpt: binder.
BindToTypeForErrorRecovery
(receiverOpt),