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