12 references to BoundBadExpression
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (5)
1732
expression = new
BoundBadExpression
(
5844
var badRight = new
BoundBadExpression
(
7926
return new
BoundBadExpression
(node, LookupResultKind.Ambiguous, lookupResult.Symbols.AsImmutable(), ImmutableArray.Create(AdjustBadExpressionChild(boundLeft)), CreateErrorType(rightName), hasErrors: true);
7963
return new
BoundBadExpression
(node, lookupResult.Kind, symbols.AsImmutable(), ImmutableArray.Create(AdjustBadExpressionChild(boundLeft)), CreateErrorType(rightName), hasErrors: true);
9752
return new
BoundBadExpression
(node, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, childBoundNodes, CreateErrorType(), hasErrors: true);
Binder\Binder_Patterns.cs (1)
382
lengthAccess = new
BoundBadExpression
(node, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, CreateErrorType(), hasErrors: true) { WasCompilerGenerated = true };
Binder\Binder_Query.cs (1)
814
field2Value = new
BoundBadExpression
(field2Value.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(field2Value), field2Value.Type, true);
Binder\Binder_Symbols.cs (2)
1508
receiver = new
BoundBadExpression
(receiver.Syntax, LookupResultKind.Ambiguous, ImmutableArray<Symbol>.Empty, ImmutableArray.Create(receiver), receiver.Type, hasErrors: true).MakeCompilerGenerated();
1518
receiver = new
BoundBadExpression
(receiver.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, childBoundNodes: [AdjustBadExpressionChild(receiver)], receiver.Type, hasErrors: true).MakeCompilerGenerated();
BoundTree\Constructors.cs (1)
536
:
this
(syntax, resultKind, symbols, childBoundNodes, type, true)
Generated\BoundNodes.xml.Generated.cs (1)
986
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);