Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

387 lines
14 KiB
C#

using System;
using System.Configuration.Assemblies;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
using Mono;
namespace System.Reflection
{
/// <summary>Describes an assembly's unique identity in full.</summary>
// Token: 0x0200023B RID: 571
[Token(Token = "0x200023B")]
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.None)]
[ComDefaultInterface(typeof(_AssemblyName))]
[Serializable]
[StructLayout(0)]
public sealed class AssemblyName : ICloneable, ISerializable, IDeserializationCallback, _AssemblyName
{
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AssemblyName" /> class.</summary>
// Token: 0x06001481 RID: 5249 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001481")]
[Address(RVA = "0x2A018D0", Offset = "0x2A006D0", VA = "0x182A018D0")]
public AssemblyName()
{
}
// Token: 0x06001482 RID: 5250 RVA: 0x0000F198 File Offset: 0x0000D398
[Token(Token = "0x6001482")]
[Address(RVA = "0x2A012C0", Offset = "0x2A000C0", VA = "0x182A012C0")]
private static bool ParseAssemblyName(IntPtr name, out MonoAssemblyName aname, out bool is_version_definited, out bool is_token_defined)
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.AssemblyName" /> class with the specified display name.</summary>
/// <param name="assemblyName">The display name of the assembly, as returned by the <see cref="P:System.Reflection.AssemblyName.FullName" /> property.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="assemblyName" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="assemblyName" /> is a zero length 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.
///
///
///
///
/// The referenced assembly could not be found, or could not be loaded.</exception>
// Token: 0x06001483 RID: 5251 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001483")]
[Address(RVA = "0x2A01340", Offset = "0x2A00140", VA = "0x182A01340")]
public AssemblyName(string assemblyName)
{
}
// Token: 0x06001484 RID: 5252 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001484")]
[Address(RVA = "0x2A01560", Offset = "0x2A00360", VA = "0x182A01560")]
internal AssemblyName(SerializationInfo si, StreamingContext sc)
{
}
/// <summary>Gets or sets the simple name of the assembly. This is usually, but not necessarily, the file name of the manifest file of the assembly, minus its extension.</summary>
/// <returns>The simple name of the assembly.</returns>
// Token: 0x1700021A RID: 538
// (get) Token: 0x06001485 RID: 5253 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06001486 RID: 5254 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700021A")]
public string Name
{
[Token(Token = "0x6001485")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
[Token(Token = "0x6001486")]
[Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200")]
set
{
}
}
/// <summary>Gets or sets the culture supported by the assembly.</summary>
/// <returns>An object that represents the culture supported by the assembly.</returns>
// Token: 0x1700021B RID: 539
// (get) Token: 0x06001487 RID: 5255 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06001488 RID: 5256 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700021B")]
public CultureInfo CultureInfo
{
[Token(Token = "0x6001487")]
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
get
{
return null;
}
[Token(Token = "0x6001488")]
[Address(RVA = "0x4437E0", Offset = "0x4425E0", VA = "0x1804437E0")]
set
{
}
}
/// <summary>Gets or sets the attributes of the assembly.</summary>
/// <returns>A value that represents the attributes of the assembly.</returns>
// Token: 0x1700021C RID: 540
// (get) Token: 0x06001489 RID: 5257 RVA: 0x0000F1B0 File Offset: 0x0000D3B0
// (set) Token: 0x0600148A RID: 5258 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700021C")]
public AssemblyNameFlags Flags
{
[Token(Token = "0x6001489")]
[Address(RVA = "0x40FFE0", Offset = "0x40EDE0", VA = "0x18040FFE0")]
get
{
return AssemblyNameFlags.None;
}
[Token(Token = "0x600148A")]
[Address(RVA = "0x52C070", Offset = "0x52AE70", VA = "0x18052C070")]
set
{
}
}
/// <summary>Gets the full name of the assembly, also known as the display name.</summary>
/// <returns>A string that is the full name of the assembly, also known as the display name.</returns>
// Token: 0x1700021D RID: 541
// (get) Token: 0x0600148B RID: 5259 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700021D")]
public string FullName
{
[Token(Token = "0x600148B")]
[Address(RVA = "0x2A018E0", Offset = "0x2A006E0", VA = "0x182A018E0")]
get
{
return null;
}
}
/// <summary>Gets or sets the public and private cryptographic key pair that is used to create a strong name signature for the assembly.</summary>
/// <returns>The public and private cryptographic key pair to be used to create a strong name for the assembly.</returns>
// Token: 0x1700021E RID: 542
// (set) Token: 0x0600148C RID: 5260 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700021E")]
public StrongNameKeyPair KeyPair
{
[Token(Token = "0x600148C")]
[Address(RVA = "0x403B30", Offset = "0x402930", VA = "0x180403B30")]
set
{
}
}
/// <summary>Gets or sets the major, minor, build, and revision numbers of the assembly.</summary>
/// <returns>An object that represents the major, minor, build, and revision numbers of the assembly.</returns>
// Token: 0x1700021F RID: 543
// (get) Token: 0x0600148D RID: 5261 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x0600148E RID: 5262 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700021F")]
public Version Version
{
[Token(Token = "0x600148D")]
[Address(RVA = "0x423DE0", Offset = "0x422BE0", VA = "0x180423DE0")]
get
{
return null;
}
[Token(Token = "0x600148E")]
[Address(RVA = "0x2A01D50", Offset = "0x2A00B50", VA = "0x182A01D50")]
set
{
}
}
/// <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 cannot be determined.</returns>
// Token: 0x0600148F RID: 5263 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600148F")]
[Address(RVA = "0x2A012F0", Offset = "0x2A000F0", VA = "0x182A012F0", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Gets the public key of the assembly.</summary>
/// <returns>A byte array that contains the public key of the assembly.</returns>
/// <exception cref="T:System.Security.SecurityException">A public key was provided (for example, by using the <see cref="M:System.Reflection.AssemblyName.SetPublicKey(System.Byte[])" /> method), but no public key token was provided.</exception>
// Token: 0x06001490 RID: 5264 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001490")]
[Address(RVA = "0x3FA170", Offset = "0x3F8F70", VA = "0x1803FA170")]
public byte[] GetPublicKey()
{
return null;
}
/// <summary>Gets the public key token, which is the last 8 bytes of the SHA-1 hash of the public key under which the application or assembly is signed.</summary>
/// <returns>A byte array that contains the public key token.</returns>
// Token: 0x06001491 RID: 5265 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001491")]
[Address(RVA = "0x2A01110", Offset = "0x29FFF10", VA = "0x182A01110")]
public byte[] GetPublicKeyToken()
{
return null;
}
// Token: 0x17000220 RID: 544
// (get) Token: 0x06001492 RID: 5266 RVA: 0x0000F1C8 File Offset: 0x0000D3C8
[Token(Token = "0x17000220")]
private bool IsPublicKeyValid
{
[Token(Token = "0x6001492")]
[Address(RVA = "0x2A01C80", Offset = "0x2A00A80", VA = "0x182A01C80")]
get
{
return default(bool);
}
}
// Token: 0x06001493 RID: 5267 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001493")]
[Address(RVA = "0x2A011E0", Offset = "0x29FFFE0", VA = "0x182A011E0")]
private byte[] InternalGetPublicKeyToken()
{
return null;
}
// Token: 0x06001494 RID: 5268 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001494")]
[Address(RVA = "0x2A01D40", Offset = "0x2A00B40", VA = "0x182A01D40")]
private unsafe static void get_public_token(byte* token, byte* pubkey, int len)
{
}
// Token: 0x06001495 RID: 5269 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001495")]
[Address(RVA = "0x2A00B20", Offset = "0x29FF920", VA = "0x182A00B20")]
private byte[] ComputePublicKeyToken()
{
return null;
}
/// <summary>Sets the public key identifying the assembly.</summary>
/// <param name="publicKey">A byte array containing the public key of the assembly.</param>
// Token: 0x06001496 RID: 5270 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001496")]
[Address(RVA = "0x2A012D0", Offset = "0x2A000D0", VA = "0x182A012D0")]
public void SetPublicKey(byte[] publicKey)
{
}
/// <summary>Gets serialization information with all the data needed to recreate an instance of this <see langword="AssemblyName" />.</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: 0x06001497 RID: 5271 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001497")]
[Address(RVA = "0x2A00F10", Offset = "0x29FFD10", VA = "0x182A00F10", Slot = "5")]
public void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Makes a copy of this <see cref="T:System.Reflection.AssemblyName" /> object.</summary>
/// <returns>An object that is a copy of this <see cref="T:System.Reflection.AssemblyName" /> object.</returns>
// Token: 0x06001498 RID: 5272 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001498")]
[Address(RVA = "0x2A00A70", Offset = "0x29FF870", VA = "0x182A00A70", Slot = "4")]
public object Clone()
{
return null;
}
/// <summary>Implements the <see cref="T:System.Runtime.Serialization.ISerializable" /> interface and is called back by the deserialization event when deserialization is complete.</summary>
/// <param name="sender">The source of the deserialization event.</param>
// Token: 0x06001499 RID: 5273 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001499")]
[Address(RVA = "0x2A012B0", Offset = "0x2A000B0", VA = "0x182A012B0", Slot = "6")]
public void OnDeserialization(object sender)
{
}
// Token: 0x0600149A RID: 5274 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600149A")]
[Address(RVA = "0x2A00F00", Offset = "0x29FFD00", VA = "0x182A00F00")]
private unsafe static MonoAssemblyName* GetNativeName(IntPtr assembly_ptr)
{
return null;
}
// Token: 0x0600149B RID: 5275 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600149B")]
[Address(RVA = "0x2A00C70", Offset = "0x29FFA70", VA = "0x182A00C70")]
internal unsafe void FillName(MonoAssemblyName* native, string codeBase, bool addVersion, bool addPublickey, bool defaultToken, bool assemblyRef)
{
}
// Token: 0x0600149C RID: 5276 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600149C")]
[Address(RVA = "0x2A00BB0", Offset = "0x29FF9B0", VA = "0x182A00BB0")]
internal static AssemblyName Create(Assembly assembly, bool fillCodebase)
{
return null;
}
// Token: 0x04000B08 RID: 2824
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000B08")]
private string name;
// Token: 0x04000B09 RID: 2825
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000B09")]
private string codebase;
// Token: 0x04000B0A RID: 2826
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000B0A")]
private int major;
// Token: 0x04000B0B RID: 2827
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x4000B0B")]
private int minor;
// Token: 0x04000B0C RID: 2828
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000B0C")]
private int build;
// Token: 0x04000B0D RID: 2829
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
[Token(Token = "0x4000B0D")]
private int revision;
// Token: 0x04000B0E RID: 2830
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000B0E")]
private CultureInfo cultureinfo;
// Token: 0x04000B0F RID: 2831
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000B0F")]
private AssemblyNameFlags flags;
// Token: 0x04000B10 RID: 2832
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
[Token(Token = "0x4000B10")]
private AssemblyHashAlgorithm hashalg;
// Token: 0x04000B11 RID: 2833
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000B11")]
private StrongNameKeyPair keypair;
// Token: 0x04000B12 RID: 2834
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000B12")]
private byte[] publicKey;
// Token: 0x04000B13 RID: 2835
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000B13")]
private byte[] keyToken;
// Token: 0x04000B14 RID: 2836
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000B14")]
private AssemblyVersionCompatibility versioncompat;
// Token: 0x04000B15 RID: 2837
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000B15")]
private Version version;
// Token: 0x04000B16 RID: 2838
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000B16")]
private ProcessorArchitecture processor_architecture;
// Token: 0x04000B17 RID: 2839
[global::Cpp2IlInjected.FieldOffset(Offset = "0x6C")]
[Token(Token = "0x4000B17")]
private AssemblyContentType contentType;
}
}