static Environment() { Runtime.Import(typeof(Environment).Assembly); string fp = System.IO.Path.GetDirectoryName(typeof(Environment).Assembly.Location) + System.IO.Path.DirectorySeparatorChar + "lsc.exe"; if (System.IO.File.Exists(fp)) { Assembly a = AssemblyCache.LoadAssembly(fp); Runtime.Import(a); } }
public static Object Import(Cons args, Environment environment) { return(Runtime.Import(args.First() as string, environment)); }