Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Reflection/Assembly.cs
T
2026-04-10 22:50:51 +02:00

849 lines
41 KiB
C#

using System;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Security.Policy;
using System.Threading;
using Cpp2IlInjected;
namespace System.Reflection
{
/// <summary>Represents an assembly, which is a reusable, versionable, and self-describing building block of a common language runtime application.</summary>
// Token: 0x02000238 RID: 568
[Token(Token = "0x2000238")]
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.None)]
[ComDefaultInterface(typeof(_Assembly))]
[Serializable]
[StructLayout(0)]
public class Assembly : ICustomAttributeProvider, ISerializable, _Assembly
{
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.Assembly" /> class.</summary>
// Token: 0x06001444 RID: 5188 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001444")]
[Address(RVA = "0x2A03180", Offset = "0x2A01F80", VA = "0x182A03180")]
protected Assembly()
{
}
// Token: 0x06001445 RID: 5189 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001445")]
[Address(RVA = "0x2A02010", Offset = "0x2A00E10", VA = "0x182A02010")]
private string get_code_base(bool escaped)
{
return null;
}
// Token: 0x06001446 RID: 5190 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001446")]
[Address(RVA = "0x2A03230", Offset = "0x2A02030", VA = "0x182A03230")]
private string get_fullname()
{
return null;
}
// Token: 0x06001447 RID: 5191 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001447")]
[Address(RVA = "0x2A03240", Offset = "0x2A02040", VA = "0x182A03240")]
private string get_location()
{
return null;
}
// Token: 0x06001448 RID: 5192 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001448")]
[Address(RVA = "0x2A01F40", Offset = "0x2A00D40", VA = "0x182A01F40")]
internal static string GetAotId()
{
return null;
}
// Token: 0x06001449 RID: 5193 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001449")]
[Address(RVA = "0x2A02010", Offset = "0x2A00E10", VA = "0x182A02010")]
private string GetCodeBase(bool escaped)
{
return null;
}
/// <summary>Gets the location of the assembly as specified originally, for example, in an <see cref="T:System.Reflection.AssemblyName" /> object.</summary>
/// <returns>The location of the assembly as specified originally.</returns>
// Token: 0x17000213 RID: 531
// (get) Token: 0x0600144A RID: 5194 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000213")]
public virtual string CodeBase
{
[Token(Token = "0x600144A")]
[Address(RVA = "0x2A031C0", Offset = "0x2A01FC0", VA = "0x182A031C0", Slot = "8")]
get
{
return null;
}
}
/// <summary>Gets the URI, including escape characters, that represents the codebase.</summary>
/// <returns>A URI with escape characters.</returns>
// Token: 0x17000214 RID: 532
// (get) Token: 0x0600144B RID: 5195 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000214")]
public virtual string EscapedCodeBase
{
[Token(Token = "0x600144B")]
[Address(RVA = "0x2A031D0", Offset = "0x2A01FD0", VA = "0x182A031D0", Slot = "9")]
get
{
return null;
}
}
/// <summary>Gets the display name of the assembly.</summary>
/// <returns>The display name of the assembly.</returns>
// Token: 0x17000215 RID: 533
// (get) Token: 0x0600144C RID: 5196 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000215")]
public virtual string FullName
{
[Token(Token = "0x600144C")]
[Address(RVA = "0x479DA0", Offset = "0x478BA0", VA = "0x180479DA0", Slot = "10")]
get
{
return null;
}
}
/// <summary>Gets the full path or UNC location of the loaded file that contains the manifest.</summary>
/// <returns>The location of the loaded file that contains the manifest. If the loaded file was shadow-copied, the location is that of the file after being shadow-copied. If the assembly is loaded from a byte array, such as when using the <see cref="M:System.Reflection.Assembly.Load(System.Byte[])" /> method overload, the value returned is an empty string ("").</returns>
/// <exception cref="T:System.NotSupportedException">The current assembly is a dynamic assembly, represented by an <see cref="T:System.Reflection.Emit.AssemblyBuilder" /> object.</exception>
// Token: 0x17000216 RID: 534
// (get) Token: 0x0600144D RID: 5197 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000216")]
public virtual string Location
{
[Token(Token = "0x600144D")]
[Address(RVA = "0x2A031E0", Offset = "0x2A01FE0", VA = "0x182A031E0", Slot = "11")]
get
{
return null;
}
}
/// <summary>Gets serialization information with all of the data needed to reinstantiate this assembly.</summary>
/// <param name="info">The object to be populated with serialization information.</param>
/// <param name="context">The destination context of the serialization.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x0600144E RID: 5198 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600144E")]
[Address(RVA = "0x2A02A00", Offset = "0x2A01800", VA = "0x182A02A00", Slot = "12")]
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Indicates whether or not a specified attribute has been applied to the assembly.</summary>
/// <param name="attributeType">The type of the attribute to be checked for this assembly.</param>
/// <param name="inherit">This argument is ignored for objects of this type.</param>
/// <returns>
/// <see langword="true" /> if the attribute has been applied to the assembly; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="attributeType" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="attributeType" /> uses an invalid type.</exception>
// Token: 0x0600144F RID: 5199 RVA: 0x0000F090 File Offset: 0x0000D290
[Token(Token = "0x600144F")]
[Address(RVA = "0x2A02EF0", Offset = "0x2A01CF0", VA = "0x182A02EF0", Slot = "13")]
public virtual bool IsDefined(Type attributeType, bool inherit)
{
return default(bool);
}
/// <summary>Gets all the custom attributes for this assembly.</summary>
/// <param name="inherit">This argument is ignored for objects of type <see cref="T:System.Reflection.Assembly" />.</param>
/// <returns>An array that contains the custom attributes for this assembly.</returns>
// Token: 0x06001450 RID: 5200 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001450")]
[Address(RVA = "0x2A02020", Offset = "0x2A00E20", VA = "0x182A02020", Slot = "14")]
public virtual object[] GetCustomAttributes(bool inherit)
{
return null;
}
/// <summary>Gets the custom attributes for this assembly as specified by type.</summary>
/// <param name="attributeType">The type for which the custom attributes are to be returned.</param>
/// <param name="inherit">This argument is ignored for objects of type <see cref="T:System.Reflection.Assembly" />.</param>
/// <returns>An array that contains the custom attributes for this assembly as specified by <paramref name="attributeType" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="attributeType" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="attributeType" /> is not a runtime type.</exception>
// Token: 0x06001451 RID: 5201 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001451")]
[Address(RVA = "0x2A02090", Offset = "0x2A00E90", VA = "0x182A02090", Slot = "15")]
public virtual object[] GetCustomAttributes(Type attributeType, bool inherit)
{
return null;
}
// Token: 0x06001452 RID: 5202 RVA: 0x0000F0A8 File Offset: 0x0000D2A8
[Token(Token = "0x6001452")]
[Address(RVA = "0x2A02280", Offset = "0x2A01080", VA = "0x182A02280")]
internal IntPtr GetManifestResourceInternal(string name, out int size, out Module module)
{
return 0;
}
/// <summary>Loads the specified manifest resource from this assembly.</summary>
/// <param name="name">The case-sensitive name of the manifest resource being requested.</param>
/// <returns>The manifest resource; or <see langword="null" /> if no resources were specified during compilation or if the resource is not visible to the caller.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="name" /> parameter is an empty string ("").</exception>
/// <exception cref="T:System.IO.FileLoadException">In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, <see cref="T:System.IO.IOException" />, instead.
///
///
///
///
/// A file that was found could not be loaded.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="name" /> was not found.</exception>
/// <exception cref="T:System.BadImageFormatException">
/// <paramref name="name" /> is not a valid assembly.</exception>
/// <exception cref="T:System.NotImplementedException">Resource length is greater than <see cref="F:System.Int64.MaxValue" />.</exception>
// Token: 0x06001453 RID: 5203 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001453")]
[Address(RVA = "0x2A022A0", Offset = "0x2A010A0", VA = "0x182A022A0", Slot = "16")]
public virtual Stream GetManifestResourceStream(string name)
{
return null;
}
// Token: 0x06001454 RID: 5204 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001454")]
[Address(RVA = "0x2A02740", Offset = "0x2A01540", VA = "0x182A02740")]
internal Stream GetManifestResourceStream(Type type, string name, bool skipSecurityCheck, ref StackCrawlMark stackMark)
{
return null;
}
// Token: 0x06001455 RID: 5205 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001455")]
[Address(RVA = "0x2A02630", Offset = "0x2A01430", VA = "0x182A02630")]
internal Stream GetManifestResourceStream(string name, ref StackCrawlMark stackMark, bool skipSecurityCheck)
{
return null;
}
// Token: 0x06001456 RID: 5206 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001456")]
[Address(RVA = "0x2A02A80", Offset = "0x2A01880", VA = "0x182A02A80")]
internal string GetSimpleName()
{
return null;
}
// Token: 0x06001457 RID: 5207 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001457")]
[Address(RVA = "0x2A02A50", Offset = "0x2A01850", VA = "0x182A02A50")]
internal byte[] GetPublicKey()
{
return null;
}
// Token: 0x06001458 RID: 5208 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001458")]
[Address(RVA = "0x2A02B80", Offset = "0x2A01980", VA = "0x182A02B80")]
internal Version GetVersion()
{
return null;
}
// Token: 0x06001459 RID: 5209 RVA: 0x0000F0C0 File Offset: 0x0000D2C0
[Token(Token = "0x6001459")]
[Address(RVA = "0x2A02140", Offset = "0x2A00F40", VA = "0x182A02140")]
private AssemblyNameFlags GetFlags()
{
return AssemblyNameFlags.None;
}
// Token: 0x0600145A RID: 5210 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600145A")]
[Address(RVA = "0x2A02B70", Offset = "0x2A01970", VA = "0x182A02B70", Slot = "17")]
internal virtual Type[] GetTypes(bool exportedOnly)
{
return null;
}
/// <summary>Gets the types defined in this assembly.</summary>
/// <returns>An array that contains all the types that are defined in this assembly.</returns>
/// <exception cref="T:System.Reflection.ReflectionTypeLoadException">The assembly contains one or more types that cannot be loaded. The array returned by the <see cref="P:System.Reflection.ReflectionTypeLoadException.Types" /> property of this exception contains a <see cref="T:System.Type" /> object for each type that was loaded and <see langword="null" /> for each type that could not be loaded, while the <see cref="P:System.Reflection.ReflectionTypeLoadException.LoaderExceptions" /> property contains an exception for each type that could not be loaded.</exception>
// Token: 0x0600145B RID: 5211 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600145B")]
[Address(RVA = "0x2A02B50", Offset = "0x2A01950", VA = "0x182A02B50", Slot = "18")]
public virtual Type[] GetTypes()
{
return null;
}
/// <summary>Gets the <see cref="T:System.Type" /> object with the specified name in the assembly instance and optionally throws an exception if the type is not found.</summary>
/// <param name="name">The full name of the type.</param>
/// <param name="throwOnError">
/// <see langword="true" /> to throw an exception if the type is not found; <see langword="false" /> to return <see langword="null" />.</param>
/// <returns>An object that represents the specified class.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="name" /> is invalid.
/// -or-
/// The length of <paramref name="name" /> exceeds 1024 characters.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="name" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.TypeLoadException">
/// <paramref name="throwOnError" /> is <see langword="true" />, and the type cannot be found.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="name" /> requires a dependent assembly that could not be found.</exception>
/// <exception cref="T:System.IO.FileLoadException">
/// <paramref name="name" /> requires a dependent assembly that was found but could not be loaded.
/// -or-
/// The current assembly was loaded into the reflection-only context, and <paramref name="name" /> requires a dependent assembly that was not preloaded.</exception>
/// <exception cref="T:System.BadImageFormatException">
/// <paramref name="name" /> requires a dependent assembly, but the file is not a valid assembly.
/// -or-
/// <paramref name="name" /> requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.</exception>
// Token: 0x0600145C RID: 5212 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600145C")]
[Address(RVA = "0x2A02AF0", Offset = "0x2A018F0", VA = "0x182A02AF0", Slot = "19")]
public virtual Type GetType(string name, bool throwOnError)
{
return null;
}
/// <summary>Gets the <see cref="T:System.Type" /> object with the specified name in the assembly instance.</summary>
/// <param name="name">The full name of the type.</param>
/// <returns>An object that represents the specified class, or <see langword="null" /> if the class is not found.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="name" /> is invalid.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="name" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="name" /> requires a dependent assembly that could not be found.</exception>
/// <exception cref="T:System.IO.FileLoadException">In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, <see cref="T:System.IO.IOException" />, instead.
///
///
/// <paramref name="name" /> requires a dependent assembly that was found but could not be loaded.
/// -or-
/// The current assembly was loaded into the reflection-only context, and <paramref name="name" /> requires a dependent assembly that was not preloaded.</exception>
/// <exception cref="T:System.BadImageFormatException">
/// <paramref name="name" /> requires a dependent assembly, but the file is not a valid assembly.
/// -or-
/// <paramref name="name" /> requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.</exception>
// Token: 0x0600145D RID: 5213 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600145D")]
[Address(RVA = "0x2A02B20", Offset = "0x2A01920", VA = "0x182A02B20", Slot = "20")]
public virtual Type GetType(string name)
{
return null;
}
// Token: 0x0600145E RID: 5214 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600145E")]
[Address(RVA = "0x2A02EE0", Offset = "0x2A01CE0", VA = "0x182A02EE0")]
internal Type InternalGetType(Module module, string name, bool throwOnError, bool ignoreCase)
{
return null;
}
/// <summary>Gets an <see cref="T:System.Reflection.AssemblyName" /> for this assembly, setting the codebase as specified by <paramref name="copiedName" />.</summary>
/// <param name="copiedName">
/// <see langword="true" /> to set the <see cref="P:System.Reflection.Assembly.CodeBase" /> to the location of the assembly after it was shadow copied; <see langword="false" /> to set <see cref="P:System.Reflection.Assembly.CodeBase" /> to the original location.</param>
/// <returns>An object that contains the fully parsed display name for this assembly.</returns>
// Token: 0x0600145F RID: 5215 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600145F")]
[Address(RVA = "0x2A02990", Offset = "0x2A01790", VA = "0x182A02990", Slot = "21")]
public virtual AssemblyName GetName(bool copiedName)
{
return null;
}
/// <summary>Gets an <see cref="T:System.Reflection.AssemblyName" /> for this assembly.</summary>
/// <returns>An object that contains the fully parsed display name for this assembly.</returns>
// Token: 0x06001460 RID: 5216 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001460")]
[Address(RVA = "0x2A029E0", Offset = "0x2A017E0", VA = "0x182A029E0", Slot = "22")]
public virtual AssemblyName GetName()
{
return null;
}
/// <summary>Returns the full name of the assembly, also known as the display name.</summary>
/// <returns>The full name of the assembly, or the class name if the full name of the assembly cannot be determined.</returns>
// Token: 0x06001461 RID: 5217 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001461")]
[Address(RVA = "0x2A03150", Offset = "0x2A01F50", VA = "0x182A03150", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Gets the currently loaded assembly in which the specified type is defined.</summary>
/// <param name="type">An object representing a type in the assembly that will be returned.</param>
/// <returns>The assembly in which the specified type is defined.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="type" /> is <see langword="null" />.</exception>
// Token: 0x06001462 RID: 5218 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001462")]
[Address(RVA = "0x2A01F50", Offset = "0x2A00D50", VA = "0x182A01F50")]
public static Assembly GetAssembly(Type type)
{
return null;
}
/// <summary>Gets the process executable in the default application domain. In other application domains, this is the first executable that was executed by <see cref="M:System.AppDomain.ExecuteAssembly(System.String)" />.</summary>
/// <returns>The assembly that is the process executable in the default application domain, or the first executable that was executed by <see cref="M:System.AppDomain.ExecuteAssembly(System.String)" />. Can return <see langword="null" /> when called from unmanaged code.</returns>
// Token: 0x06001463 RID: 5219 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001463")]
[Address(RVA = "0x2A01F40", Offset = "0x2A00D40", VA = "0x182A01F40")]
public static Assembly GetEntryAssembly()
{
return null;
}
// Token: 0x06001464 RID: 5220 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001464")]
[Address(RVA = "0x2A02BB0", Offset = "0x2A019B0", VA = "0x182A02BB0")]
internal RuntimeAssembly InternalGetSatelliteAssembly(string name, CultureInfo culture, Version version, bool throwOnFileNotFound, ref StackCrawlMark stackMark)
{
return null;
}
// Token: 0x06001465 RID: 5221 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001465")]
[Address(RVA = "0x2A02F80", Offset = "0x2A01D80", VA = "0x182A02F80")]
private static Assembly LoadFrom(string assemblyFile, bool refonly)
{
return null;
}
/// <summary>Loads an assembly given its file name or path.</summary>
/// <param name="assemblyFile">The name or path of the file that contains the manifest of the assembly.</param>
/// <returns>The loaded assembly.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="assemblyFile" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="assemblyFile" /> is not found, or the module you are trying to load does not specify a filename extension.</exception>
/// <exception cref="T:System.IO.FileLoadException">A file that was found could not be loaded.
/// -or-
/// The ability to execute code in remote assemblies is disabled. See &lt;loadFromRemoteSources&gt;.</exception>
/// <exception cref="T:System.BadImageFormatException">
/// <paramref name="assemblyFile" /> is not a valid assembly; for example, a 32-bit assembly in a 64-bit process. See the exception topic for more information.
/// -or-
/// Version 2.0 or later of the common language runtime is currently loaded and <paramref name="assemblyFile" /> was compiled with a later version.</exception>
/// <exception cref="T:System.Security.SecurityException">A codebase that does not start with "file://" was specified without the required <see cref="T:System.Net.WebPermission" />.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="assemblyFile" /> parameter is an empty string ("").</exception>
/// <exception cref="T:System.IO.PathTooLongException">The assembly name exceeds the system-defined maximum length.</exception>
// Token: 0x06001466 RID: 5222 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001466")]
[Address(RVA = "0x2A02F70", Offset = "0x2A01D70", VA = "0x182A02F70")]
public static Assembly LoadFrom(string assemblyFile)
{
return null;
}
/// <summary>Loads an assembly given the long form of its name.</summary>
/// <param name="assemblyString">The long form of the assembly name.</param>
/// <returns>The loaded assembly.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="assemblyString" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="assemblyString" /> is a zero-length string.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="assemblyString" /> is not found.</exception>
/// <exception cref="T:System.IO.FileLoadException">A file that was found could not be loaded.</exception>
/// <exception cref="T:System.BadImageFormatException">
/// <paramref name="assemblyString" /> is not a valid assembly.
/// -or-
/// Version 2.0 or later of the common language runtime is currently loaded and <paramref name="assemblyString" /> was compiled with a later version.</exception>
// Token: 0x06001467 RID: 5223 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001467")]
[Address(RVA = "0x2A03120", Offset = "0x2A01F20", VA = "0x182A03120")]
public static Assembly Load(string assemblyString)
{
return null;
}
/// <summary>Loads an assembly from the application directory or from the global assembly cache using a partial name.</summary>
/// <param name="partialName">The display name of the assembly.</param>
/// <returns>The loaded assembly. If <paramref name="partialName" /> is not found, this method returns <see langword="null" />.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="partialName" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.BadImageFormatException">
/// <paramref name="assemblyFile" /> is not a valid assembly.
/// -or-
/// Version 2.0 or later of the common language runtime is currently loaded and <paramref name="partialName" /> was compiled with a later version.</exception>
// Token: 0x06001468 RID: 5224 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001468")]
[Address(RVA = "0x2A030B0", Offset = "0x2A01EB0", VA = "0x182A030B0")]
[Obsolete]
public static Assembly LoadWithPartialName(string partialName)
{
return null;
}
// Token: 0x06001469 RID: 5225 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001469")]
[Address(RVA = "0x2A03250", Offset = "0x2A02050", VA = "0x182A03250")]
private static Assembly load_with_partial_name(string name, Evidence e)
{
return null;
}
/// <summary>Loads an assembly from the application directory or from the global assembly cache using a partial name. The assembly is loaded into the domain of the caller using the supplied evidence.</summary>
/// <param name="partialName">The display name of the assembly.</param>
/// <param name="securityEvidence">Evidence for loading the assembly.</param>
/// <returns>The loaded assembly. If <paramref name="partialName" /> is not found, this method returns <see langword="null" />.</returns>
/// <exception cref="T:System.IO.FileLoadException">An assembly or module was loaded twice with two different sets of evidence.</exception>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="partialName" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.BadImageFormatException">
/// <paramref name="assemblyFile" /> is not a valid assembly.
/// -or-
/// Version 2.0 or later of the common language runtime is currently loaded and <paramref name="partialName" /> was compiled with a later version.</exception>
// Token: 0x0600146A RID: 5226 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600146A")]
[Address(RVA = "0x2A02F90", Offset = "0x2A01D90", VA = "0x182A02F90")]
[Obsolete]
public static Assembly LoadWithPartialName(string partialName, Evidence securityEvidence)
{
return null;
}
// Token: 0x0600146B RID: 5227 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600146B")]
[Address(RVA = "0x2A03000", Offset = "0x2A01E00", VA = "0x182A03000")]
internal static Assembly LoadWithPartialName(string partialName, Evidence securityEvidence, bool oldBehavior)
{
return null;
}
/// <summary>Gets all the modules that are part of this assembly.</summary>
/// <returns>An array of modules.</returns>
/// <exception cref="T:System.IO.FileNotFoundException">The module to be loaded does not specify a file name extension.</exception>
// Token: 0x0600146C RID: 5228 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600146C")]
[Address(RVA = "0x2A02970", Offset = "0x2A01770", VA = "0x182A02970", Slot = "23")]
public Module[] GetModules()
{
return null;
}
// Token: 0x0600146D RID: 5229 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600146D")]
[Address(RVA = "0x2A02920", Offset = "0x2A01720", VA = "0x182A02920", Slot = "24")]
internal virtual Module[] GetModulesInternal()
{
return null;
}
/// <summary>Returns the names of all the resources in this assembly.</summary>
/// <returns>An array that contains the names of all the resources.</returns>
// Token: 0x0600146E RID: 5230 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600146E")]
[Address(RVA = "0x2A02290", Offset = "0x2A01090", VA = "0x182A02290", Slot = "25")]
public virtual string[] GetManifestResourceNames()
{
return null;
}
/// <summary>Gets the assembly that contains the code that is currently executing.</summary>
/// <returns>The assembly that contains the code that is currently executing.</returns>
// Token: 0x0600146F RID: 5231 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600146F")]
[Address(RVA = "0x2A02110", Offset = "0x2A00F10", VA = "0x182A02110")]
public static Assembly GetExecutingAssembly()
{
return null;
}
/// <summary>Returns the <see cref="T:System.Reflection.Assembly" /> of the method that invoked the currently executing method.</summary>
/// <returns>The <see langword="Assembly" /> object of the method that invoked the currently executing method.</returns>
// Token: 0x06001470 RID: 5232 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001470")]
[Address(RVA = "0x2A02000", Offset = "0x2A00E00", VA = "0x182A02000")]
public static Assembly GetCallingAssembly()
{
return null;
}
// Token: 0x06001471 RID: 5233 RVA: 0x0000F0D8 File Offset: 0x0000D2D8
[Token(Token = "0x6001471")]
[Address(RVA = "0x2A02180", Offset = "0x2A00F80", VA = "0x182A02180")]
private bool GetManifestResourceInfoInternal(string name, ManifestResourceInfo info)
{
return default(bool);
}
/// <summary>Returns information about how the given resource has been persisted.</summary>
/// <param name="resourceName">The case-sensitive name of the resource.</param>
/// <returns>An object that is populated with information about the resource's topology, or <see langword="null" /> if the resource is not found.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="resourceName" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="resourceName" /> parameter is an empty string ("").</exception>
// Token: 0x06001472 RID: 5234 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001472")]
[Address(RVA = "0x2A02190", Offset = "0x2A00F90", VA = "0x182A02190", Slot = "26")]
public virtual ManifestResourceInfo GetManifestResourceInfo(string resourceName)
{
return null;
}
/// <summary>Gets a <see cref="T:System.Boolean" /> value indicating whether this assembly was loaded into the reflection-only context.</summary>
/// <returns>
/// <see langword="true" /> if the assembly was loaded into the reflection-only context, rather than the execution context; otherwise, <see langword="false" />.</returns>
// Token: 0x17000217 RID: 535
// (get) Token: 0x06001473 RID: 5235 RVA: 0x0000F0F0 File Offset: 0x0000D2F0
[Token(Token = "0x17000217")]
[ComVisible(false)]
public virtual bool ReflectionOnly
{
[Token(Token = "0x6001473")]
[Address(RVA = "0x1B65780", Offset = "0x1B64580", VA = "0x181B65780", Slot = "27")]
get
{
return default(bool);
}
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x06001474 RID: 5236 RVA: 0x0000F108 File Offset: 0x0000D308
[Token(Token = "0x6001474")]
[Address(RVA = "0x2A02170", Offset = "0x2A00F70", VA = "0x182A02170", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Determines whether this assembly and the specified object are equal.</summary>
/// <param name="o">The object to compare with this instance.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="o" /> is equal to this instance; otherwise, <see langword="false" />.</returns>
// Token: 0x06001475 RID: 5237 RVA: 0x0000F120 File Offset: 0x0000D320
[Token(Token = "0x6001475")]
[Address(RVA = "0x2A01E50", Offset = "0x2A00C50", VA = "0x182A01E50", Slot = "0")]
public override bool Equals(object o)
{
return default(bool);
}
// Token: 0x06001476 RID: 5238 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001476")]
[Address(RVA = "0x2A01E00", Offset = "0x2A00C00", VA = "0x182A01E00")]
private static Exception CreateNIE()
{
return null;
}
/// <summary>Gets a value that indicates whether the current assembly is loaded with full trust.</summary>
/// <returns>
/// <see langword="true" /> if the current assembly is loaded with full trust; otherwise, <see langword="false" />.</returns>
// Token: 0x17000218 RID: 536
// (get) Token: 0x06001477 RID: 5239 RVA: 0x0000F138 File Offset: 0x0000D338
[Token(Token = "0x17000218")]
[MonoTODO]
public bool IsFullyTrusted
{
[Token(Token = "0x6001477")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40")]
get
{
return default(bool);
}
}
/// <summary>Gets the <see cref="T:System.Type" /> object with the specified name in the assembly instance, with the options of ignoring the case, and of throwing an exception if the type is not found.</summary>
/// <param name="name">The full name of the type.</param>
/// <param name="throwOnError">
/// <see langword="true" /> to throw an exception if the type is not found; <see langword="false" /> to return <see langword="null" />.</param>
/// <param name="ignoreCase">
/// <see langword="true" /> to ignore the case of the type name; otherwise, <see langword="false" />.</param>
/// <returns>An object that represents the specified class.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="name" /> is invalid.
/// -or-
/// The length of <paramref name="name" /> exceeds 1024 characters.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="name" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.TypeLoadException">
/// <paramref name="throwOnError" /> is <see langword="true" />, and the type cannot be found.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="name" /> requires a dependent assembly that could not be found.</exception>
/// <exception cref="T:System.IO.FileLoadException">
/// <paramref name="name" /> requires a dependent assembly that was found but could not be loaded.
/// -or-
/// The current assembly was loaded into the reflection-only context, and <paramref name="name" /> requires a dependent assembly that was not preloaded.</exception>
/// <exception cref="T:System.BadImageFormatException">
/// <paramref name="name" /> requires a dependent assembly, but the file is not a valid assembly.
/// -or-
/// <paramref name="name" /> requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.</exception>
// Token: 0x06001478 RID: 5240 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001478")]
[Address(RVA = "0x2A02AB0", Offset = "0x2A018B0", VA = "0x182A02AB0", Slot = "28")]
public virtual Type GetType(string name, bool throwOnError, bool ignoreCase)
{
return null;
}
/// <summary>Gets the specified module in this assembly.</summary>
/// <param name="name">The name of the module being requested.</param>
/// <returns>The module being requested, or <see langword="null" /> if the module is not found.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="name" /> parameter is an empty string ("").</exception>
/// <exception cref="T:System.IO.FileLoadException">A file that was found could not be loaded.</exception>
/// <exception cref="T:System.IO.FileNotFoundException">
/// <paramref name="name" /> was not found.</exception>
/// <exception cref="T:System.BadImageFormatException">
/// <paramref name="name" /> is not a valid assembly.</exception>
// Token: 0x06001479 RID: 5241 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001479")]
[Address(RVA = "0x2A028E0", Offset = "0x2A016E0", VA = "0x182A028E0", Slot = "29")]
public virtual Module GetModule(string name)
{
return null;
}
/// <summary>Gets all the modules that are part of this assembly, specifying whether to include resource modules.</summary>
/// <param name="getResourceModules">
/// <see langword="true" /> to include resource modules; otherwise, <see langword="false" />.</param>
/// <returns>An array of modules.</returns>
// Token: 0x0600147A RID: 5242 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600147A")]
[Address(RVA = "0x2A02930", Offset = "0x2A01730", VA = "0x182A02930", Slot = "30")]
public virtual Module[] GetModules(bool getResourceModules)
{
return null;
}
/// <summary>Gets a value that indicates whether the current assembly was generated dynamically in the current process by using reflection emit.</summary>
/// <returns>
/// <see langword="true" /> if the current assembly was generated dynamically in the current process; otherwise, <see langword="false" />.</returns>
// Token: 0x17000219 RID: 537
// (get) Token: 0x0600147B RID: 5243 RVA: 0x0000F150 File Offset: 0x0000D350
[Token(Token = "0x17000219")]
public virtual bool IsDynamic
{
[Token(Token = "0x600147B")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "31")]
get
{
return default(bool);
}
}
/// <summary>Indicates whether two <see cref="T:System.Reflection.Assembly" /> objects are equal.</summary>
/// <param name="left">The assembly to compare to <paramref name="right" />.</param>
/// <param name="right">The assembly to compare to <paramref name="left" />.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="left" /> is equal to <paramref name="right" />; otherwise, <see langword="false" />.</returns>
// Token: 0x0600147C RID: 5244 RVA: 0x0000F168 File Offset: 0x0000D368
[Token(Token = "0x600147C")]
[Address(RVA = "0x2954E10", Offset = "0x2953C10", VA = "0x182954E10")]
public static bool operator ==(Assembly left, Assembly right)
{
return default(bool);
}
/// <summary>Indicates whether two <see cref="T:System.Reflection.Assembly" /> objects are not equal.</summary>
/// <param name="left">The assembly to compare to <paramref name="right" />.</param>
/// <param name="right">The assembly to compare to <paramref name="left" />.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="left" /> is not equal to <paramref name="right" />; otherwise, <see langword="false" />.</returns>
// Token: 0x0600147D RID: 5245 RVA: 0x0000F180 File Offset: 0x0000D380
[Token(Token = "0x600147D")]
[Address(RVA = "0x2954E60", Offset = "0x2953C60", VA = "0x182954E60")]
public static bool operator !=(Assembly left, Assembly right)
{
return default(bool);
}
// Token: 0x04000AFD RID: 2813
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000AFD")]
internal IntPtr _mono_assembly;
// Token: 0x04000AFE RID: 2814
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000AFE")]
private Assembly.ResolveEventHolder resolve_event_holder;
// Token: 0x04000AFF RID: 2815
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000AFF")]
private object _evidence;
// Token: 0x04000B00 RID: 2816
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000B00")]
private object _minimum;
// Token: 0x04000B01 RID: 2817
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000B01")]
private object _optional;
// Token: 0x04000B02 RID: 2818
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000B02")]
private object _refuse;
// Token: 0x04000B03 RID: 2819
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000B03")]
private object _granted;
// Token: 0x04000B04 RID: 2820
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000B04")]
private object _denied;
// Token: 0x04000B05 RID: 2821
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000B05")]
private bool fromByteArray;
// Token: 0x04000B06 RID: 2822
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000B06")]
private string assemblyName;
// Token: 0x02000239 RID: 569
[Token(Token = "0x2000239")]
internal class ResolveEventHolder
{
// Token: 0x0600147E RID: 5246 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600147E")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
public ResolveEventHolder()
{
}
}
// Token: 0x0200023A RID: 570
[Token(Token = "0x200023A")]
internal class UnmanagedMemoryStreamForModule : UnmanagedMemoryStream
{
// Token: 0x0600147F RID: 5247 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600147F")]
[Address(RVA = "0x2A180C0", Offset = "0x2A16EC0", VA = "0x182A180C0")]
public unsafe UnmanagedMemoryStreamForModule(byte* pointer, long length, Module module)
{
}
// Token: 0x06001480 RID: 5248 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001480")]
[Address(RVA = "0x2A180A0", Offset = "0x2A16EA0", VA = "0x182A180A0", Slot = "16")]
protected override void Dispose(bool disposing)
{
}
// Token: 0x04000B07 RID: 2823
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000B07")]
private Module module;
}
}
}