47 references to BindToTypeForErrorRecovery
Microsoft.CodeAnalysis.CSharp (47)
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
89ImmutableArray.Create(AdjustBadExpressionChild(BindToTypeForErrorRecovery(receiver))),
Binder\Binder_Attributes.cs (1)
192static (arg, binder) => binder.BindToTypeForErrorRecovery(arg),
Binder\Binder_Expressions.cs (10)
176ImmutableArray.Create(AdjustBadExpressionChild(BindToTypeForErrorRecovery(childNode))), 201childNodes.SelectAsArray((e, self) => self.AdjustBadExpressionChild(self.BindToTypeForErrorRecovery(e)), this), 244ImmutableArray.Create(AdjustBadExpressionChild(BindToTypeForErrorRecovery(expr))), 893node, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(BindToTypeForErrorRecovery(BindValue(node.Expression, BindingDiagnosticBag.Discarded, BindValueKind.RefersToLocation))), 987return BindToTypeForErrorRecovery(result); 1742childBoundNodes: ImmutableArray.Create(BindToTypeForErrorRecovery(expression)), 4177size = BindToTypeForErrorRecovery(size); 4610builder.Add(BindToTypeForErrorRecovery(BindExpression(size, BindingDiagnosticBag.Discarded))); 5872return BindToTypeForErrorRecovery(ToBadExpression(boundExpression, LookupResultKind.NotAValue)); 8423boundLeft == null ? ImmutableArray<BoundExpression>.Empty : ImmutableArray.Create(AdjustBadExpressionChild(BindToTypeForErrorRecovery(boundLeft))),
Binder\Binder_Invocation.cs (2)
2084receiver = BindToTypeForErrorRecovery(receiver); 2238newArguments[i] = BindToTypeForErrorRecovery(argument);
Binder\Binder_Operators.cs (17)
59left = BindToTypeForErrorRecovery(left); 60right = BindToTypeForErrorRecovery(right); 104left = BindToTypeForErrorRecovery(left); 105right = BindToTypeForErrorRecovery(right); 118left = BindToTypeForErrorRecovery(left); 119right = BindToTypeForErrorRecovery(right); 336left = BindToTypeForErrorRecovery(left); 337right = BindToTypeForErrorRecovery(right); 544BindToTypeForErrorRecovery(right), 949left = BindToTypeForErrorRecovery(left); 950right = BindToTypeForErrorRecovery(right); 5577leftOperand = BindToTypeForErrorRecovery(leftOperand); 5578rightOperand = BindToTypeForErrorRecovery(rightOperand); 5592leftOperand = BindToTypeForErrorRecovery(leftOperand); 5593rightOperand = BindToTypeForErrorRecovery(rightOperand); 5832leftOperand = BindToTypeForErrorRecovery(leftOperand); 5833rightOperand = BindToTypeForErrorRecovery(rightOperand);
Binder\Binder_Patterns.cs (1)
593convertedExpression = BindToTypeForErrorRecovery(convertedExpression);
Binder\Binder_Statements.cs (12)
248argument = BindToTypeForErrorRecovery(argument); 1163initializerOpt: hasErrors ? BindToTypeForErrorRecovery(initializerOpt)?.WithHasErrors() : initializerOpt, 1500op1 = BindToTypeForErrorRecovery(op1); 1525op1 = BindToTypeForErrorRecovery(op1); 1526op2 = BindToTypeForErrorRecovery(op2); 2692return BoundConversion.Synthesized(node, BindToTypeForErrorRecovery(expr), Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, ConstantValue.NotAvailable, boolean, hasErrors: true); 3169return new BoundReturnStatement(syntax, refKind, hasErrors ? BindToTypeForErrorRecovery(arg) : arg, hasErrors); 3505expression = BindToTypeForErrorRecovery(expression); 3516expression = BindToTypeForErrorRecovery(expression); 3529expression = BindToTypeForErrorRecovery(expression); 3547expression = BindToTypeForErrorRecovery(expression); 3554expression = BindToTypeForErrorRecovery(expression);
Binder\ForEachLoopBinder.cs (1)
409iterationErrorExpression = BindToTypeForErrorRecovery(BindExpression(node.Variable, BindingDiagnosticBag.Discarded));
BoundTree\Constructors.cs (2)
148receiverOpt: binder.AdjustBadExpressionChild(binder.BindToTypeForErrorRecovery(receiverOpt)), 151arguments: arguments.SelectAsArray((e, binder) => binder.BindToTypeForErrorRecovery(e), binder),