System.AppDomain.AppDomain.LoadSatellite C# (CSharp) Method

LoadSatellite() private method

private LoadSatellite ( AssemblyName assemblyRef, bool throwOnError ) : Assembly
assemblyRef System.Reflection.AssemblyName
throwOnError bool
return System.Reflection.Assembly
		internal Assembly LoadSatellite (AssemblyName assemblyRef, bool throwOnError)
		{
			if (assemblyRef == null)
				throw new ArgumentNullException ("assemblyRef");

			Assembly result = LoadAssembly (assemblyRef.FullName, null, false);
			if (result == null && throwOnError)
				throw new FileNotFoundException (null, assemblyRef.Name);
			return result;
		}