public void AddRange(CodeTypeDeclarationCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int count = value.Count; for (int i = 0; i < count; i++) { Add(value[i]); } }
public CodeTypeDeclarationCollection(CodeTypeDeclarationCollection value) { AddRange(value); }