6 references to ToBadExpression
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder.ValueChecks.cs (1)
669
return
ToBadExpression
(expr, resultKind);
Binder\Binder_Expressions.cs (4)
543
expr =
ToBadExpression
(expr);
5738
return BindToTypeForErrorRecovery(
ToBadExpression
(boundExpression, LookupResultKind.NotAValue));
6047
return
ToBadExpression
(boundMember, (valueKind == BindValueKind.RValue) ? LookupResultKind.NotAValue : LookupResultKind.NotAVariable);
7398
boundLeft =
ToBadExpression
(boundLeft);
Binder\Binder_Operators.cs (1)
3238
operand =
ToBadExpression
(operand);