Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Reflection.Assembly Class Referenceabstract

Public Member Functions

virtual Type[] GetTypes ()
 
virtual Type[] GetExportedTypes ()
 
virtual Type[] GetForwardedTypes ()
 
virtual ? ManifestResourceInfo GetManifestResourceInfo (string resourceName)
 
virtual string[] GetManifestResourceNames ()
 
virtual ? Stream GetManifestResourceStream (string name)
 
virtual ? Stream GetManifestResourceStream (Type type, string name)
 
virtual AssemblyName GetName ()
 
virtual AssemblyName GetName (bool copiedName)
 
virtual ? Type GetType (string name)
 
virtual ? Type GetType (string name, bool throwOnError)
 
virtual ? Type GetType (string name, bool throwOnError, bool ignoreCase)
 
virtual bool IsDefined (Type attributeType, bool inherit)
 
virtual IList< CustomAttributeDataGetCustomAttributesData ()
 
virtual object[] GetCustomAttributes (bool inherit)
 
virtual object[] GetCustomAttributes (Type attributeType, bool inherit)
 
object? CreateInstance (string typeName)
 
object? CreateInstance (string typeName, bool ignoreCase)
 
virtual ? object CreateInstance (string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder? binder, object[]? args, CultureInfo? culture, object[]? activationAttributes)
 
virtual ? Module GetModule (string name)
 
Module[] GetModules ()
 
virtual Module[] GetModules (bool getResourceModules)
 
Module[] GetLoadedModules ()
 
virtual Module[] GetLoadedModules (bool getResourceModules)
 
virtual AssemblyName[] GetReferencedAssemblies ()
 
virtual Assembly GetSatelliteAssembly (CultureInfo culture)
 
virtual Assembly GetSatelliteAssembly (CultureInfo culture, Version? version)
 
virtual ? FileStream GetFile (string name)
 
virtual FileStream[] GetFiles ()
 
virtual FileStream[] GetFiles (bool getResourceModules)
 
virtual void GetObjectData (SerializationInfo info, StreamingContext context)
 
override string ToString ()
 
override bool Equals (object? o)
 
override int GetHashCode ()
 
Module LoadModule (string moduleName, byte[]? rawModule)
 
virtual Module LoadModule (string moduleName, byte[]? rawModule, byte[]? rawSymbolStore)
 

Static Public Member Functions

static Assembly Load (string assemblyString)
 
static ? Assembly LoadWithPartialName (string partialName)
 
static Assembly Load (AssemblyName assemblyRef)
 
static Assembly GetExecutingAssembly ()
 
static Assembly GetCallingAssembly ()
 
static bool operator== (Assembly? left, Assembly? right)
 
static bool operator!= (Assembly? left, Assembly? right)
 
static string CreateQualifiedName (string? assemblyName, string? typeName)
 
static ? Assembly GetAssembly (Type type)
 
static ? Assembly GetEntryAssembly ()
 
static Assembly Load (byte[] rawAssembly)
 
static Assembly Load (byte[] rawAssembly, byte[]? rawSymbolStore)
 
static Assembly LoadFile (string path)
 
static Assembly LoadFrom (string assemblyFile)
 
static Assembly LoadFrom (string assemblyFile, byte[]? hashValue, AssemblyHashAlgorithm hashAlgorithm)
 
static Assembly UnsafeLoadFrom (string assemblyFile)
 
static Assembly ReflectionOnlyLoad (byte[] rawAssembly)
 
static Assembly ReflectionOnlyLoad (string assemblyString)
 
static Assembly ReflectionOnlyLoadFrom (string assemblyFile)
 

Package Functions

bool IsRuntimeImplemented ()
 
static uint GetAssemblyCount ()
 

Static Package Functions

static RuntimeAssembly GetExecutingAssembly (ref StackCrawlMark stackMark)
 

Properties

virtual IEnumerable< TypeInfoDefinedTypes [get]
 
virtual IEnumerable< TypeExportedTypes [get]
 
virtual ? string CodeBase [get]
 
virtual ? MethodInfo EntryPoint [get]
 
virtual ? string FullName [get]
 
virtual string ImageRuntimeVersion [get]
 
virtual bool IsDynamic [get]
 
virtual string Location [get]
 
virtual bool ReflectionOnly [get]
 
virtual bool IsCollectible [get]
 
bool IsFullyTrusted [get]
 
virtual IEnumerable< CustomAttributeDataCustomAttributes [get]
 
virtual string EscapedCodeBase [get]
 
virtual Module ManifestModule [get]
 
virtual IEnumerable< ModuleModules [get]
 
virtual bool GlobalAssemblyCache [get]
 
virtual long HostContext [get]
 
virtual SecurityRuleSet SecurityRuleSet [get]
 
virtual ? ModuleResolveEventHandler ModuleResolve
 

Private Member Functions

static void GetExecutingAssemblyNative (StackCrawlMarkHandle stackMark, ObjectHandleOnStack retAssembly)
 
static void GetEntryAssemblyNative (ObjectHandleOnStack retAssembly)
 

Static Private Member Functions

static Assembly GetEntryAssemblyInternal ()
 
static Assembly LoadFromResolveHandler (object sender, ResolveEventArgs args)
 

Static Private Attributes

static readonly Dictionary< string, Assemblys_loadfile = new Dictionary<string, Assembly>()
 
static readonly List< strings_loadFromAssemblyList = new List<string>()
 
static bool s_loadFromHandlerSet
 
static int s_cachedSerializationSwitch
 
static bool s_forceNullEntryPoint
 

Detailed Description

Definition at line 15 of file Assembly.cs.


The documentation for this class was generated from the following file: