public void CopyTo(Module copy) { copy._name = _name; copy._mvid = _mvid; copy._frameworkVersionMoniker = _frameworkVersionMoniker; copy._entryPoint = EntryPoint; AssemblyReferences.CopyTo(copy.AssemblyReferences); ModuleReferences.CopyTo(copy.ModuleReferences); Files.CopyTo(copy.Files); Types.CopyTo(copy.Types); ExportedTypes.CopyTo(copy.ExportedTypes); Resources.CopyTo(copy.Resources); CustomAttributes.CopyTo(copy.CustomAttributes); if (_unmanagedResources != null) { copy._unmanagedResources = _unmanagedResources.Clone(); } }