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