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

289 lines
12 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Reflection
{
/// <summary>Performs reflection on a module.</summary>
// Token: 0x02000248 RID: 584
[Token(Token = "0x2000248")]
[ComDefaultInterface(typeof(_Module))]
[ClassInterface(ClassInterfaceType.None)]
[ComVisible(true)]
[Serializable]
[StructLayout(0)]
public abstract class Module : ISerializable, ICustomAttributeProvider, _Module
{
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.Module" /> class.</summary>
// Token: 0x060014F8 RID: 5368 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014F8")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
protected Module()
{
}
/// <summary>Provides an <see cref="T:System.Runtime.Serialization.ISerializable" /> implementation for serialized objects.</summary>
/// <param name="info">The information and data needed to serialize or deserialize an object.</param>
/// <param name="context">The context for the serialization.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x060014F9 RID: 5369 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014F9")]
[Address(RVA = "0x2A0B340", Offset = "0x2A0A140", VA = "0x182A0B340", Slot = "8")]
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Returns the name of the module.</summary>
/// <returns>A <see langword="String" /> representing the name of this module.</returns>
// Token: 0x060014FA RID: 5370 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014FA")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x060014FB RID: 5371 RVA: 0x0000F498 File Offset: 0x0000D698
[Token(Token = "0x60014FB")]
[Address(RVA = "0x2A0B300", Offset = "0x2A0A100", VA = "0x182A0B300", Slot = "9")]
internal virtual Guid GetModuleVersionId()
{
return default(Guid);
}
// Token: 0x060014FC RID: 5372 RVA: 0x0000F4B0 File Offset: 0x0000D6B0
[Token(Token = "0x60014FC")]
[Address(RVA = "0x2A0B600", Offset = "0x2A0A400", VA = "0x182A0B600")]
private static bool filter_by_type_name(Type m, object filterCriteria)
{
return default(bool);
}
// Token: 0x060014FD RID: 5373 RVA: 0x0000F4C8 File Offset: 0x0000D6C8
[Token(Token = "0x60014FD")]
[Address(RVA = "0x2A0B4E0", Offset = "0x2A0A2E0", VA = "0x182A0B4E0")]
private static bool filter_by_type_name_ignore_case(Type m, object filterCriteria)
{
return default(bool);
}
// Token: 0x060014FE RID: 5374 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014FE")]
[Address(RVA = "0x2A0B2F0", Offset = "0x2A0A0F0", VA = "0x182A0B2F0")]
private string GetGuidInternal()
{
return null;
}
/// <summary>Determines whether this module 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: 0x060014FF RID: 5375 RVA: 0x0000F4E0 File Offset: 0x0000D6E0
[Token(Token = "0x60014FF")]
[Address(RVA = "0x1746070", Offset = "0x1744E70", VA = "0x181746070", Slot = "0")]
public override bool Equals(object o)
{
return default(bool);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x06001500 RID: 5376 RVA: 0x0000F4F8 File Offset: 0x0000D6F8
[Token(Token = "0x6001500")]
[Address(RVA = "0x2A02170", Offset = "0x2A00F70", VA = "0x182A02170", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Indicates whether two <see cref="T:System.Reflection.Module" /> objects are equal.</summary>
/// <param name="left">The first object to compare.</param>
/// <param name="right">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="left" /> is equal to <paramref name="right" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06001501 RID: 5377 RVA: 0x0000F510 File Offset: 0x0000D710
[Token(Token = "0x6001501")]
[Address(RVA = "0x2954E10", Offset = "0x2953C10", VA = "0x182954E10")]
public static bool operator ==(Module left, Module right)
{
return default(bool);
}
/// <summary>Gets the appropriate <see cref="T:System.Reflection.Assembly" /> for this instance of <see cref="T:System.Reflection.Module" />.</summary>
/// <returns>An <see langword="Assembly" /> object.</returns>
// Token: 0x17000235 RID: 565
// (get) Token: 0x06001502 RID: 5378 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000235")]
public virtual Assembly Assembly
{
[Token(Token = "0x6001502")]
[Address(RVA = "0x2A0B710", Offset = "0x2A0A510", VA = "0x182A0B710", Slot = "10")]
get
{
return null;
}
}
/// <summary>Gets a string representing the name of the module.</summary>
/// <returns>The module name.</returns>
// Token: 0x17000236 RID: 566
// (get) Token: 0x06001503 RID: 5379 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000236")]
public virtual string ScopeName
{
[Token(Token = "0x6001503")]
[Address(RVA = "0x2A0B830", Offset = "0x2A0A630", VA = "0x182A0B830", Slot = "11")]
get
{
return null;
}
}
/// <summary>Gets a universally unique identifier (UUID) that can be used to distinguish between two versions of a module.</summary>
/// <returns>A <see cref="T:System.Guid" /> that can be used to distinguish between two versions of a module.</returns>
// Token: 0x17000237 RID: 567
// (get) Token: 0x06001504 RID: 5380 RVA: 0x0000F528 File Offset: 0x0000D728
[Token(Token = "0x17000237")]
public virtual Guid ModuleVersionId
{
[Token(Token = "0x6001504")]
[Address(RVA = "0x2A0B7D0", Offset = "0x2A0A5D0", VA = "0x182A0B7D0", Slot = "12")]
get
{
return default(Guid);
}
}
/// <summary>Gets a string representing the fully qualified name and path to this module.</summary>
/// <returns>The fully qualified module name.</returns>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permissions.</exception>
// Token: 0x17000238 RID: 568
// (get) Token: 0x06001505 RID: 5381 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000238")]
public virtual string FullyQualifiedName
{
[Token(Token = "0x6001505")]
[Address(RVA = "0x2A0B770", Offset = "0x2A0A570", VA = "0x182A0B770", Slot = "13")]
get
{
return null;
}
}
// Token: 0x06001506 RID: 5382 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001506")]
[Address(RVA = "0x2A0B1E0", Offset = "0x2A09FE0", VA = "0x182A0B1E0")]
private static Exception CreateNIE()
{
return null;
}
/// <summary>Gets a value indicating whether the object is a resource.</summary>
/// <returns>
/// <see langword="true" /> if the object is a resource; otherwise, <see langword="false" />.</returns>
// Token: 0x06001507 RID: 5383 RVA: 0x0000F540 File Offset: 0x0000D740
[Token(Token = "0x6001507")]
[Address(RVA = "0x2A0B3F0", Offset = "0x2A0A1F0", VA = "0x182A0B3F0", Slot = "14")]
public virtual bool IsResource()
{
return default(bool);
}
/// <summary>Returns all custom attributes.</summary>
/// <param name="inherit">This argument is ignored for objects of this type.</param>
/// <returns>An array of type <see langword="Object" /> containing all custom attributes.</returns>
// Token: 0x06001508 RID: 5384 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001508")]
[Address(RVA = "0x2A0B290", Offset = "0x2A0A090", VA = "0x182A0B290", Slot = "15")]
public virtual object[] GetCustomAttributes(bool inherit)
{
return null;
}
/// <summary>Gets custom attributes of the specified type.</summary>
/// <param name="attributeType">The type of attribute to get.</param>
/// <param name="inherit">This argument is ignored for objects of this type.</param>
/// <returns>An array of type <see langword="Object" /> containing all custom attributes of the specified type.</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 <see cref="T:System.Type" /> object supplied by the runtime. For example, <paramref name="attributeType" /> is a <see cref="T:System.Reflection.Emit.TypeBuilder" /> object.</exception>
// Token: 0x06001509 RID: 5385 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001509")]
[Address(RVA = "0x2A0B230", Offset = "0x2A0A030", VA = "0x182A0B230", Slot = "16")]
public virtual object[] GetCustomAttributes(Type attributeType, bool inherit)
{
return null;
}
/// <summary>Returns a value that indicates whether the specified attribute type has been applied to this module.</summary>
/// <param name="attributeType">The type of custom attribute to test for.</param>
/// <param name="inherit">This argument is ignored for objects of this type.</param>
/// <returns>
/// <see langword="true" /> if one or more instances of <paramref name="attributeType" /> have been applied to this module; 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" /> is not a <see cref="T:System.Type" /> object supplied by the runtime. For example, <paramref name="attributeType" /> is a <see cref="T:System.Reflection.Emit.TypeBuilder" /> object.</exception>
// Token: 0x0600150A RID: 5386 RVA: 0x0000F558 File Offset: 0x0000D758
[Token(Token = "0x600150A")]
[Address(RVA = "0x2A0B390", Offset = "0x2A0A190", VA = "0x182A0B390", Slot = "17")]
public virtual bool IsDefined(Type attributeType, bool inherit)
{
return default(bool);
}
/// <summary>A <see langword="TypeFilter" /> object that filters the list of types defined in this module based upon the name. This field is case-sensitive and read-only.</summary>
// Token: 0x04000B36 RID: 2870
[Token(Token = "0x4000B36")]
public static readonly TypeFilter FilterTypeName;
/// <summary>A <see langword="TypeFilter" /> object that filters the list of types defined in this module based upon the name. This field is case-insensitive and read-only.</summary>
// Token: 0x04000B37 RID: 2871
[Token(Token = "0x4000B37")]
public static readonly TypeFilter FilterTypeNameIgnoreCase;
// Token: 0x04000B38 RID: 2872
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000B38")]
internal IntPtr _impl;
// Token: 0x04000B39 RID: 2873
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000B39")]
internal Assembly assembly;
// Token: 0x04000B3A RID: 2874
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000B3A")]
internal string fqname;
// Token: 0x04000B3B RID: 2875
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000B3B")]
internal string name;
// Token: 0x04000B3C RID: 2876
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000B3C")]
internal string scopename;
// Token: 0x04000B3D RID: 2877
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000B3D")]
internal bool is_resource;
// Token: 0x04000B3E RID: 2878
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
[Token(Token = "0x4000B3E")]
internal int token;
// Token: 0x04000B3F RID: 2879
[Token(Token = "0x4000B3F")]
private const BindingFlags defaultBindingFlags = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public;
}
}