44 references to BindToTypeForErrorRecovery
Microsoft.CodeAnalysis.CSharp (44)
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
89ImmutableArray.Create(BindToTypeForErrorRecovery(receiver)),
Binder\Binder_Expressions.cs (9)
169ImmutableArray.Create(BindToTypeForErrorRecovery(childNode)), 225ImmutableArray.Create(BindToTypeForErrorRecovery(expr)), 861node, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(BindToTypeForErrorRecovery(BindValue(node.Expression, BindingDiagnosticBag.Discarded, BindValueKind.RefersToLocation))), 955return BindToTypeForErrorRecovery(result); 1681childBoundNodes: ImmutableArray.Create(BindToTypeForErrorRecovery(expression)), 4103size = BindToTypeForErrorRecovery(size); 4536builder.Add(BindToTypeForErrorRecovery(BindExpression(size, BindingDiagnosticBag.Discarded))); 5792return BindToTypeForErrorRecovery(ToBadExpression(boundExpression, LookupResultKind.NotAValue)); 8315boundLeft == null ? ImmutableArray<BoundExpression>.Empty : ImmutableArray.Create(BindToTypeForErrorRecovery(boundLeft)),
Binder\Binder_Invocation.cs (1)
2021receiver = BindToTypeForErrorRecovery(receiver);
Binder\Binder_Operators.cs (18)
52left = BindToTypeForErrorRecovery(left); 53right = BindToTypeForErrorRecovery(right); 97left = BindToTypeForErrorRecovery(left); 98right = BindToTypeForErrorRecovery(right); 111left = BindToTypeForErrorRecovery(left); 112right = BindToTypeForErrorRecovery(right); 139left = BindToTypeForErrorRecovery(left); 140right = BindToTypeForErrorRecovery(right); 661left = BindToTypeForErrorRecovery(left); 662right = BindToTypeForErrorRecovery(right); 4369leftOperand = BindToTypeForErrorRecovery(leftOperand); 4370rightOperand = BindToTypeForErrorRecovery(rightOperand); 4384leftOperand = BindToTypeForErrorRecovery(leftOperand); 4385rightOperand = BindToTypeForErrorRecovery(rightOperand); 4573leftOperand = BindToTypeForErrorRecovery(leftOperand); 4574rightOperand = BindToTypeForErrorRecovery(rightOperand); 4626leftOperand = BindToTypeForErrorRecovery(leftOperand); 4627rightOperand = 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)
409iterationErrorExpression = BindToTypeForErrorRecovery(BindExpression(node.Variable, BindingDiagnosticBag.Discarded));
BoundTree\Constructors.cs (1)
141receiverOpt: binder.BindToTypeForErrorRecovery(receiverOpt),