Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ InternalGetSatelliteAssembly()

Assembly System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly ( CultureInfo culture,
Version version,
bool throwOnFileNotFound )
inlinepackageinherited

Definition at line 499 of file RuntimeAssembly.cs.

500 {
502 assemblyName.SetPublicKey(GetPublicKey());
503 assemblyName.Flags = GetFlags() | AssemblyNameFlags.PublicKey;
504 assemblyName.Version = version ?? GetVersion();
506 assemblyName.Name = GetSimpleName() + ".resources";
509 if (runtimeAssembly == this)
510 {
511 runtimeAssembly = null;
512 }
514 {
515 throw new FileNotFoundException(SR.Format(culture, SR.IO_FileNotFound_FileName, assemblyName.Name));
516 }
517 return runtimeAssembly;
518 }
static RuntimeAssembly InternalLoad(string assemblyName, ref StackCrawlMark stackMark, AssemblyLoadContext assemblyLoadContext=null)

References System.culture, System.Runtime.Serialization.Dictionary, System.SR.Format(), System.Reflection.RuntimeAssembly.GetFlags(), System.Reflection.RuntimeAssembly.GetPublicKey(), System.Reflection.RuntimeAssembly.GetSimpleName(), System.Reflection.RuntimeAssembly.GetVersion(), System.Reflection.RuntimeAssembly.InternalLoad(), and System.SR.IO_FileNotFound_FileName.

Referenced by System.Reflection.RuntimeAssembly.GetSatelliteAssembly().