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