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

◆ GetAssembly()

static ? Assembly System.Reflection.Assembly.GetAssembly ( Type type)
inlinestaticinherited

Definition at line 472 of file Assembly.cs.

473 {
474 if (type == null)
475 {
476 throw new ArgumentNullException("type");
477 }
478 Module module = type.Module;
479 if (module == null)
480 {
481 return null;
482 }
483 return module.Assembly;
484 }

References System.type.

Referenced by System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(), and Terraria.Main.TrySupporting8K().