8 references to BoundBadExpression
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (1)
9656
return new
BoundBadExpression
(node, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, childBoundNodes, CreateErrorType(), hasErrors: true);
Binder\Binder_Patterns.cs (1)
371
lengthAccess = new
BoundBadExpression
(node, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, CreateErrorType(), hasErrors: true) { WasCompilerGenerated = true };
Binder\Binder_Query.cs (1)
803
field2Value = new
BoundBadExpression
(field2Value.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(field2Value), field2Value.Type, true);
Binder\Binder_Symbols.cs (2)
1507
receiver = new
BoundBadExpression
(receiver.Syntax, LookupResultKind.Ambiguous, ImmutableArray<Symbol>.Empty, ImmutableArray.Create(receiver), receiver.Type, hasErrors: true).MakeCompilerGenerated();
1517
receiver = new
BoundBadExpression
(receiver.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, childBoundNodes: [receiver], receiver.Type, hasErrors: true).MakeCompilerGenerated();
BoundTree\Constructors.cs (1)
529
:
this
(syntax, resultKind, symbols, childBoundNodes, type, true)
Generated\BoundNodes.xml.Generated.cs (1)
984
var result = new
BoundBadExpression
(this.Syntax, resultKind, symbols, childBoundNodes, type, this.HasErrors);
Lowering\SyntheticBoundNodeFactory.cs (1)
241
return new
BoundBadExpression
(Syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, type, hasErrors: true);