43 references to BindToTypeForErrorRecovery
Microsoft.CodeAnalysis.CSharp (43)
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);
1641
childBoundNodes: ImmutableArray.Create(
BindToTypeForErrorRecovery
(expression)),
4049
size =
BindToTypeForErrorRecovery
(size);
4482
builder.Add(
BindToTypeForErrorRecovery
(BindExpression(size, BindingDiagnosticBag.Discarded)));
5738
return
BindToTypeForErrorRecovery
(ToBadExpression(boundExpression, LookupResultKind.NotAValue));
8160
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);
3974
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
3975
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
3989
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
3990
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
4178
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
4179
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
4231
leftOperand =
BindToTypeForErrorRecovery
(leftOperand);
4232
rightOperand =
BindToTypeForErrorRecovery
(rightOperand);
Binder\Binder_Patterns.cs (1)
581
convertedExpression =
BindToTypeForErrorRecovery
(convertedExpression);
Binder\Binder_Statements.cs (11)
248
argument =
BindToTypeForErrorRecovery
(argument);
1156
initializerOpt: hasErrors ?
BindToTypeForErrorRecovery
(initializerOpt)?.WithHasErrors() : initializerOpt,
1507
op2 =
BindToTypeForErrorRecovery
(op2);
2644
return BoundConversion.Synthesized(node,
BindToTypeForErrorRecovery
(expr), Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, ConstantValue.NotAvailable, boolean, hasErrors: true);
3043
return new BoundReturnStatement(syntax, refKind,
BindToTypeForErrorRecovery
(arg), @checked: CheckOverflowAtRuntime, hasErrors: true);
3120
return new BoundReturnStatement(syntax, refKind, hasErrors ?
BindToTypeForErrorRecovery
(arg) : arg, hasErrors);
3454
expression =
BindToTypeForErrorRecovery
(expression);
3465
expression =
BindToTypeForErrorRecovery
(expression);
3478
expression =
BindToTypeForErrorRecovery
(expression);
3496
expression =
BindToTypeForErrorRecovery
(expression);
3503
expression =
BindToTypeForErrorRecovery
(expression);
Binder\ForEachLoopBinder.cs (1)
399
iterationErrorExpression =
BindToTypeForErrorRecovery
(BindExpression(node.Variable, BindingDiagnosticBag.Discarded));
BoundTree\Constructors.cs (1)
141
receiverOpt: binder.
BindToTypeForErrorRecovery
(receiverOpt),