/// <devdoc>
        ///     <para>
        ///       Adds the contents of another <see cref='Microsoft.CodeDom.CodeNamespaceCollection'/> to the end of the collection.
        ///    </para>
        /// </devdoc>
        public void AddRange(CodeNamespaceCollection value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }
            int currentCount = value.Count;

            for (int i = 0; i < currentCount; i = ((i) + (1)))
            {
                this.Add(value[i]);
            }
        }
 /// <devdoc>
 ///     <para>
 ///       Initializes a new instance of <see cref='Microsoft.CodeDom.CodeNamespaceCollection'/> based on another <see cref='Microsoft.CodeDom.CodeNamespaceCollection'/>.
 ///    </para>
 /// </devdoc>
 public CodeNamespaceCollection(CodeNamespaceCollection value)
 {
     this.AddRange(value);
 }