System.Web.Compilation.CachingCompiler.GetAssemblyLocationFromName C# (CSharp) Method

GetAssemblyLocationFromName() static private method

static private GetAssemblyLocationFromName ( string name ) : string
name string
return string
		static string GetAssemblyLocationFromName (string name)
		{
			Assembly asm = assemblyCache [name] as Assembly;
			if (asm != null)
				return asm.Location;

			try {
				asm = Assembly.Load (name);
			} catch {
			}

			if (asm == null)
				return null;

			assemblyCache [name] = asm;
			return asm.Location;
		}