protected override Expression DoResolve (ResolveContext rc) { if (DoResolveCore (rc)) binder_expr = binder.CreateCallSiteBinder (rc, arguments); return this; }
public override Expression DoResolve(ResolveContext ec) { if (eclass != ExprClass.Invalid) { return(this); } if (TypeManager.call_site_type == null) { TypeManager.call_site_type = TypeManager.CoreLookupType(ec.Compiler, "System.Runtime.CompilerServices", "CallSite", Kind.Class, true); } if (TypeManager.generic_call_site_type == null) { TypeManager.generic_call_site_type = TypeManager.CoreLookupType(ec.Compiler, "System.Runtime.CompilerServices", "CallSite`1", Kind.Class, true); } eclass = ExprClass.Value; if (type == null) { type = InternalType.Dynamic; } binder_expr = binder.CreateCallSiteBinder(ec, arguments); return(this); }
protected override Expression DoResolve(ResolveContext ec) { if (DoResolveCore(ec)) { binder_expr = binder.CreateCallSiteBinder(ec, arguments); } return(this); }