289 lines
12 KiB
C#
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: 0x0200024F RID: 591
|
|
[Token(Token = "0x200024F")]
|
|
[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: 0x06001537 RID: 5431 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001537")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
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: 0x06001538 RID: 5432 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001538")]
|
|
[Address(RVA = "0x30BCFD0", Offset = "0x30BBFD0", VA = "0x1830BCFD0", 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: 0x06001539 RID: 5433 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001539")]
|
|
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600153A RID: 5434 RVA: 0x0000F7F8 File Offset: 0x0000D9F8
|
|
[Token(Token = "0x600153A")]
|
|
[Address(RVA = "0x30BCF90", Offset = "0x30BBF90", VA = "0x1830BCF90", Slot = "9")]
|
|
internal virtual Guid GetModuleVersionId()
|
|
{
|
|
return default(Guid);
|
|
}
|
|
|
|
// Token: 0x0600153B RID: 5435 RVA: 0x0000F810 File Offset: 0x0000DA10
|
|
[Token(Token = "0x600153B")]
|
|
[Address(RVA = "0x30BD2A0", Offset = "0x30BC2A0", VA = "0x1830BD2A0")]
|
|
private static bool filter_by_type_name(Type m, object filterCriteria)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0600153C RID: 5436 RVA: 0x0000F828 File Offset: 0x0000DA28
|
|
[Token(Token = "0x600153C")]
|
|
[Address(RVA = "0x30BD180", Offset = "0x30BC180", VA = "0x1830BD180")]
|
|
private static bool filter_by_type_name_ignore_case(Type m, object filterCriteria)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0600153D RID: 5437 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600153D")]
|
|
[Address(RVA = "0x30BCF80", Offset = "0x30BBF80", VA = "0x1830BCF80")]
|
|
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: 0x0600153E RID: 5438 RVA: 0x0000F840 File Offset: 0x0000DA40
|
|
[Token(Token = "0x600153E")]
|
|
[Address(RVA = "0x21EBB30", Offset = "0x21EAB30", VA = "0x1821EBB30", 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: 0x0600153F RID: 5439 RVA: 0x0000F858 File Offset: 0x0000DA58
|
|
[Token(Token = "0x600153F")]
|
|
[Address(RVA = "0x4F9150", Offset = "0x4F8150", VA = "0x1804F9150", 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: 0x06001540 RID: 5440 RVA: 0x0000F870 File Offset: 0x0000DA70
|
|
[Token(Token = "0x6001540")]
|
|
[Address(RVA = "0x2D66AB0", Offset = "0x2D65AB0", VA = "0x182D66AB0")]
|
|
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: 0x17000240 RID: 576
|
|
// (get) Token: 0x06001541 RID: 5441 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000240")]
|
|
public virtual Assembly Assembly
|
|
{
|
|
[Token(Token = "0x6001541")]
|
|
[Address(RVA = "0x30BD3B0", Offset = "0x30BC3B0", VA = "0x1830BD3B0", Slot = "10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a string representing the name of the module.</summary>
|
|
/// <returns>The module name.</returns>
|
|
// Token: 0x17000241 RID: 577
|
|
// (get) Token: 0x06001542 RID: 5442 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000241")]
|
|
public virtual string ScopeName
|
|
{
|
|
[Token(Token = "0x6001542")]
|
|
[Address(RVA = "0x30BD4D0", Offset = "0x30BC4D0", VA = "0x1830BD4D0", 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: 0x17000242 RID: 578
|
|
// (get) Token: 0x06001543 RID: 5443 RVA: 0x0000F888 File Offset: 0x0000DA88
|
|
[Token(Token = "0x17000242")]
|
|
public virtual Guid ModuleVersionId
|
|
{
|
|
[Token(Token = "0x6001543")]
|
|
[Address(RVA = "0x30BD470", Offset = "0x30BC470", VA = "0x1830BD470", 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: 0x17000243 RID: 579
|
|
// (get) Token: 0x06001544 RID: 5444 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000243")]
|
|
public virtual string FullyQualifiedName
|
|
{
|
|
[Token(Token = "0x6001544")]
|
|
[Address(RVA = "0x30BD410", Offset = "0x30BC410", VA = "0x1830BD410", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001545 RID: 5445 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001545")]
|
|
[Address(RVA = "0x30BCE70", Offset = "0x30BBE70", VA = "0x1830BCE70")]
|
|
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: 0x06001546 RID: 5446 RVA: 0x0000F8A0 File Offset: 0x0000DAA0
|
|
[Token(Token = "0x6001546")]
|
|
[Address(RVA = "0x30BD080", Offset = "0x30BC080", VA = "0x1830BD080", 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: 0x06001547 RID: 5447 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001547")]
|
|
[Address(RVA = "0x30BCF20", Offset = "0x30BBF20", VA = "0x1830BCF20", 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: 0x06001548 RID: 5448 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001548")]
|
|
[Address(RVA = "0x30BCEC0", Offset = "0x30BBEC0", VA = "0x1830BCEC0", 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: 0x06001549 RID: 5449 RVA: 0x0000F8B8 File Offset: 0x0000DAB8
|
|
[Token(Token = "0x6001549")]
|
|
[Address(RVA = "0x30BD020", Offset = "0x30BC020", VA = "0x1830BD020", 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: 0x04000B40 RID: 2880
|
|
[Token(Token = "0x4000B40")]
|
|
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: 0x04000B41 RID: 2881
|
|
[Token(Token = "0x4000B41")]
|
|
public static readonly TypeFilter FilterTypeNameIgnoreCase;
|
|
|
|
// Token: 0x04000B42 RID: 2882
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000B42")]
|
|
internal IntPtr _impl;
|
|
|
|
// Token: 0x04000B43 RID: 2883
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000B43")]
|
|
internal Assembly assembly;
|
|
|
|
// Token: 0x04000B44 RID: 2884
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000B44")]
|
|
internal string fqname;
|
|
|
|
// Token: 0x04000B45 RID: 2885
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000B45")]
|
|
internal string name;
|
|
|
|
// Token: 0x04000B46 RID: 2886
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000B46")]
|
|
internal string scopename;
|
|
|
|
// Token: 0x04000B47 RID: 2887
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000B47")]
|
|
internal bool is_resource;
|
|
|
|
// Token: 0x04000B48 RID: 2888
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x4000B48")]
|
|
internal int token;
|
|
|
|
// Token: 0x04000B49 RID: 2889
|
|
[Token(Token = "0x4000B49")]
|
|
private const BindingFlags defaultBindingFlags = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public;
|
|
}
|
|
}
|