Exemplo n.º 1
0
        /// <summary>
        /// Combines two DependentAssembly arrays into one.
        /// </summary>
        private static DependentAssembly[] CombineRemappedAssemblies(DependentAssembly[] first, DependentAssembly[] second)
        {
            if (first == null)
                return second;

            if (second == null)
                return first;

            DependentAssembly[] combined = new DependentAssembly[first.Length + second.Length];
            first.CopyTo(combined, 0);
            second.CopyTo(combined, first.Length);

            return combined;
        }