Binder\Binder_Expressions.cs (25)
104/// Generates a new <see cref="BoundBadExpression"/> with no known type
106private BoundBadExpression BadExpression(SyntaxNode syntax)
112/// Generates a new <see cref="BoundBadExpression"/> with no known type, and the given bound child.
114private BoundBadExpression BadExpression(SyntaxNode syntax, BoundExpression childNode)
120/// Generates a new <see cref="BoundBadExpression"/> with no known type, and the given bound children.
122private BoundBadExpression BadExpression(SyntaxNode syntax, ImmutableArray<BoundExpression> childNodes)
128/// Generates a new <see cref="BoundBadExpression"/> with no known type, given lookup resultKind.
130protected BoundBadExpression BadExpression(SyntaxNode syntax, LookupResultKind lookupResultKind)
136/// Generates a new <see cref="BoundBadExpression"/> with no known type, given lookup resultKind and the given bound child.
138protected BoundBadExpression BadExpression(SyntaxNode syntax, LookupResultKind lookupResultKind, BoundExpression childNode)
144/// Generates a new <see cref="BoundBadExpression"/> with no known type, given lookupResultKind and given symbols for GetSemanticInfo API.
146private BoundBadExpression BadExpression(SyntaxNode syntax, LookupResultKind resultKind, ImmutableArray<Symbol> symbols)
156/// Generates a new <see cref="BoundBadExpression"/> with no known type, given lookupResultKind and given symbols for GetSemanticInfo API,
159private BoundBadExpression BadExpression(SyntaxNode syntax, LookupResultKind resultKind, ImmutableArray<Symbol> symbols, BoundExpression childNode)
169/// Generates a new <see cref="BoundBadExpression"/> with no known type, given lookupResultKind and given symbols for GetSemanticInfo API,
172private BoundBadExpression BadExpression(SyntaxNode syntax, LookupResultKind resultKind, ImmutableArray<Symbol> symbols, ImmutableArray<BoundExpression> childNodes, bool wasCompilerGenerated = false)
187/// Otherwise, a new <see cref="BoundBadExpression"/> wrapping <paramref name="expr"/> is returned.
192/// Returned expression need not be a <see cref="BoundBadExpression"/>, but is guaranteed to have HasErrors set to true.
209var badExpression = (BoundBadExpression)expr;
233/// did not meet the requirements, the return value will be a <see cref="BoundBadExpression"/> that
5136Debug.Assert(result is not BoundBadExpression { ChildBoundNodes: var children } || !children.Any((child, node) => child.Syntax == node, node));
5719var badRight = new BoundBadExpression(
6973var bad = (BoundBadExpression)classCreation;
Generated\BoundNodes.xml.Generated.cs (10)
999public BoundBadExpression Update(LookupResultKind resultKind, ImmutableArray<Symbol?> symbols, ImmutableArray<BoundExpression> childBoundNodes, TypeSymbol? type)
1003var result = new BoundBadExpression(this.Syntax, resultKind, symbols, childBoundNodes, type, this.HasErrors);
8908return VisitBadExpression((BoundBadExpression)node, arg);
9360public virtual R VisitBadExpression(BoundBadExpression node, A arg) => this.DefaultVisit(node, arg);
9596public virtual BoundNode? VisitBadExpression(BoundBadExpression node) => this.DefaultVisit(node);
9856public override BoundNode? VisitBadExpression(BoundBadExpression node)
10933public override BoundNode? VisitBadExpression(BoundBadExpression node)
12484public override BoundNode? VisitBadExpression(BoundBadExpression node)
12488BoundBadExpression updatedNode;
15144public override TreeDumperNode VisitBadExpression(BoundBadExpression node, object? arg) => new TreeDumperNode("badExpression", null, new TreeDumperNode[]