Example #1
0
        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));
        }
Example #2
0
        /// <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);
            }
        }