protected bool DoResolveCore (ResolveContext rc)
{
int errors = rc.Report.Errors;
var pt = rc.Module.PredefinedTypes;
binder_type = pt.Binder.Resolve (loc);
pt.CallSite.Resolve (loc);
pt.CallSiteGeneric.Resolve (loc);
eclass = ExprClass.Value;
if (type == null)
type = InternalType.Dynamic;
if (rc.Report.Errors == errors)
return true;
rc.Report.Error (1969, loc,
"Dynamic operation cannot be compiled without `Microsoft.CSharp.dll' assembly reference");
return false;
}