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: 0x02000247 RID: 583
|
|
[Token(Token = "0x2000247")]
|
|
[ComVisible(true)]
|
|
[StructLayout(0)]
|
|
public class MethodBody
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Reflection.MethodBody" /> class.</summary>
|
|
// Token: 0x060014F6 RID: 5366 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60014F6")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
|
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: 0x060014F7 RID: 5367 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60014F7")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "4")]
|
|
public virtual byte[] GetILAsByteArray()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04000B30 RID: 2864
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000B30")]
|
|
private ExceptionHandlingClause[] clauses;
|
|
|
|
// Token: 0x04000B31 RID: 2865
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000B31")]
|
|
private LocalVariableInfo[] locals;
|
|
|
|
// Token: 0x04000B32 RID: 2866
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000B32")]
|
|
private byte[] il;
|
|
|
|
// Token: 0x04000B33 RID: 2867
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000B33")]
|
|
private bool init_locals;
|
|
|
|
// Token: 0x04000B34 RID: 2868
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x4000B34")]
|
|
private int sig_token;
|
|
|
|
// Token: 0x04000B35 RID: 2869
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000B35")]
|
|
private int max_stack;
|
|
}
|
|
}
|