Example #1
0
        private static Assembly GetAssemblyFor(string assemblyName)
        {
            // Due to the fact that Uri lowercase's the assembly name and
            // that *nix file system's are case sensitive we
            // need to locate the assembly manually and return it
            if (MonoHelper.IsMono)
            {
                return(MonoHelper.GetLoadedAssembly(assemblyName));
            }

            return(Assembly.Load(assemblyName));
        }