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