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