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
5133Debug.Assert(result is not BoundBadExpression { ChildBoundNodes: var children } || !children.Any((child, node) => child.Syntax == node, node));
5716var badRight = new BoundBadExpression(
6970var bad = (BoundBadExpression)classCreation;
Generated\BoundNodes.xml.Generated.cs (10)
998public BoundBadExpression Update(LookupResultKind resultKind, ImmutableArray<Symbol?> symbols, ImmutableArray<BoundExpression> childBoundNodes, TypeSymbol? type)
1002var result = new BoundBadExpression(this.Syntax, resultKind, symbols, childBoundNodes, type, this.HasErrors);
8871return VisitBadExpression((BoundBadExpression)node, arg);
9323public virtual R VisitBadExpression(BoundBadExpression node, A arg) => this.DefaultVisit(node, arg);
9559public virtual BoundNode? VisitBadExpression(BoundBadExpression node) => this.DefaultVisit(node);
9819public override BoundNode? VisitBadExpression(BoundBadExpression node)
10896public override BoundNode? VisitBadExpression(BoundBadExpression node)
12447public override BoundNode? VisitBadExpression(BoundBadExpression node)
12451BoundBadExpression updatedNode;
15107public override TreeDumperNode VisitBadExpression(BoundBadExpression node, object? arg) => new TreeDumperNode("badExpression", null, new TreeDumperNode[]