#if CORECLR /********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ namespace Microsoft.PowerShell.CoreCLR { using System; using System.Reflection; /// /// AssemblyExtensions /// public static class AssemblyExtensions { /// /// Load an assembly given its file path. /// /// The path of the file that contains the manifest of the assembly. /// The loaded assembly. [ObsoleteAttribute("This method is obsolete. Call Assembly.LoadFrom instead", false)] public static Assembly LoadFrom(string assemblyPath) { return Assembly.LoadFrom(assemblyPath); } } } #endif