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)
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);
8872return VisitBadExpression((BoundBadExpression)node, arg);
9324public virtual R VisitBadExpression(BoundBadExpression node, A arg) => this.DefaultVisit(node, arg);
9560public virtual BoundNode? VisitBadExpression(BoundBadExpression node) => this.DefaultVisit(node);
9820public override BoundNode? VisitBadExpression(BoundBadExpression node)
10897public override BoundNode? VisitBadExpression(BoundBadExpression node)
12448public override BoundNode? VisitBadExpression(BoundBadExpression node)
12452BoundBadExpression updatedNode;
15108public override TreeDumperNode VisitBadExpression(BoundBadExpression node, object? arg) => new TreeDumperNode("badExpression", null, new TreeDumperNode[]