BoundExpression BindNew(AST.NewEx x, BoundAccess access) { Debug.Assert(access.IsRead || access.IsReadRef || access.IsNone); return(new BoundNewEx(BindTypeRef(x.ClassNameRef), BindArguments(x.CallSignature.Parameters)) .WithAccess(access)); }
/// <summary> /// Visit "new" call parameters. /// </summary> /// <param name="x"></param> virtual public void VisitNewEx(NewEx x) { VisitElement(x.ClassNameRef); foreach (ActualParam p in x.CallSignature.Parameters) { VisitElement(p); } }