12 references to AdjustBadExpressionChild
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder.ValueChecks.cs (1)
882receiver == null ? ImmutableArray<BoundExpression>.Empty : ImmutableArray.Create(AdjustBadExpressionChild(receiver)),
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
89ImmutableArray.Create(AdjustBadExpressionChild(BindToTypeForErrorRecovery(receiver))),
Binder\Binder_Expressions.cs (7)
170ImmutableArray.Create(AdjustBadExpressionChild(BindToTypeForErrorRecovery(childNode))), 195childNodes.SelectAsArray((e, self) => self.AdjustBadExpressionChild(self.BindToTypeForErrorRecovery(e)), this), 238ImmutableArray.Create(AdjustBadExpressionChild(BindToTypeForErrorRecovery(expr))), 7926return new BoundBadExpression(node, LookupResultKind.Ambiguous, lookupResult.Symbols.AsImmutable(), ImmutableArray.Create(AdjustBadExpressionChild(boundLeft)), CreateErrorType(rightName), hasErrors: true); 7963return new BoundBadExpression(node, lookupResult.Kind, symbols.AsImmutable(), ImmutableArray.Create(AdjustBadExpressionChild(boundLeft)), CreateErrorType(rightName), hasErrors: true); 8148return new BoundBadExpression(syntax, LookupResultKind.Viable, errorTypeSymbol.CandidateSymbols!, [AdjustBadExpressionChild(receiver)], CreateErrorType()); 8411boundLeft == null ? ImmutableArray<BoundExpression>.Empty : ImmutableArray.Create(AdjustBadExpressionChild(BindToTypeForErrorRecovery(boundLeft))),
Binder\Binder_Invocation.cs (1)
775receiverOpt == null ? [] : [AdjustBadExpressionChild(receiverOpt)],
Binder\Binder_Symbols.cs (1)
1518receiver = new BoundBadExpression(receiver.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, childBoundNodes: [AdjustBadExpressionChild(receiver)], receiver.Type, hasErrors: true).MakeCompilerGenerated();
BoundTree\Constructors.cs (1)
148receiverOpt: binder.AdjustBadExpressionChild(binder.BindToTypeForErrorRecovery(receiverOpt)),