}
if (target.eclass != ExprClass.Variable && target.eclass != ExprClass.EventAccess){
- Report.Error (131, loc,
+ Report.Error (30074, loc,
"Left hand of an assignment must be a variable, " +
"a property or an indexer");
return null;
// target_type
//
- source = ConvertExplicit (ec, source, target_type, loc);
+ source = ConvertExplicit (ec, source, target_type, false, loc);
if (source == null){
Error_CannotConvertImplicit (loc, source_type, target_type);
return null;