예제 #1
0
        internal override TypeDescription Clone(Dictionary <TypeDescription, TypeDescription> backRefLookup)
        {
            if (backRefLookup.ContainsKey(this))
            {
                return(backRefLookup[this]);
            }

            var ret = new ListTypeDescription();

            backRefLookup[this] = ret;

            ret.Contains = Contains.Clone(backRefLookup);
            ret.ForType  = ForType;

            return(ret);
        }