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