public System.CodeDom.CodeTypeParameter[] ToCodeDom()
        {
            System.CodeDom.CodeTypeParameter[] tps = new System.CodeDom.CodeTypeParameter[this.Count];

            int index = 0;

            foreach (TypeParameterDeclaration tp in this)
            {
                tps[index++] = tp.ToCodeDom();
            }
            return(tps);
        }
        public System.CodeDom.CodeTypeParameter[] ToCodeDom()
        {
            System.CodeDom.CodeTypeParameter[] tps = new System.CodeDom.CodeTypeParameter[this.Count];

            int index = 0;
            foreach (TypeParameterDeclaration tp in this)
                tps[index++] = tp.ToCodeDom();
            return tps;
        }