63 lines
2.0 KiB
C#
63 lines
2.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
/// <summary>Provides access to the metadata and MSIL for the body of a method.</summary>
|
|
// Token: 0x0200024E RID: 590
|
|
[Token(Token = "0x200024E")]
|
|
[ComVisible(true)]
|
|
[StructLayout(0)]
|
|
public class MethodBody
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.MethodBody" /> class.</summary>
|
|
// Token: 0x06001535 RID: 5429 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001535")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
protected MethodBody()
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns the MSIL for the method body, as an array of bytes.</summary>
|
|
/// <returns>An array of type <see cref="T:System.Byte" /> that contains the MSIL for the method body.</returns>
|
|
// Token: 0x06001536 RID: 5430 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001536")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "4")]
|
|
public virtual byte[] GetILAsByteArray()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04000B3A RID: 2874
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000B3A")]
|
|
private ExceptionHandlingClause[] clauses;
|
|
|
|
// Token: 0x04000B3B RID: 2875
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000B3B")]
|
|
private LocalVariableInfo[] locals;
|
|
|
|
// Token: 0x04000B3C RID: 2876
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000B3C")]
|
|
private byte[] il;
|
|
|
|
// Token: 0x04000B3D RID: 2877
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000B3D")]
|
|
private bool init_locals;
|
|
|
|
// Token: 0x04000B3E RID: 2878
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x4000B3E")]
|
|
private int sig_token;
|
|
|
|
// Token: 0x04000B3F RID: 2879
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000B3F")]
|
|
private int max_stack;
|
|
}
|
|
}
|