using System;
using System.Runtime.InteropServices;
namespace System.Reflection.Emit
{
/// Provides support for alternative ways to generate the Microsoft intermediate language (MSIL) and metadata for a dynamic method, including methods for creating tokens and for inserting the code, exception handling, and local variable signature blobs.
// Token: 0x020001EB RID: 491
[ComVisible(true)]
public class DynamicILInfo
{
// Token: 0x06001978 RID: 6520 RVA: 0x0006183C File Offset: 0x0005FA3C
internal DynamicILInfo()
{
}
/// Gets the dynamic method whose body is generated by the current instance.
/// A object representing the dynamic method for which the current object is generating code.
// Token: 0x1700047B RID: 1147
// (get) Token: 0x06001979 RID: 6521 RVA: 0x00061844 File Offset: 0x0005FA44
[MonoTODO]
public DynamicMethod DynamicMethod
{
get
{
throw new NotImplementedException();
}
}
/// Gets a token, valid in the scope of the current , representing the signature for the associated dynamic method.
/// A token that can be embedded in the metadata and the MSIL stream for the associated dynamic method.
/// A array containing the signature.
// Token: 0x0600197A RID: 6522 RVA: 0x0006184C File Offset: 0x0005FA4C
[MonoTODO]
public int GetTokenFor(byte[] signature)
{
throw new NotImplementedException();
}
/// Gets a token, valid in the scope of the current , representing a dynamic method to be called from the associated method.
/// A token that can be embedded in the MSIL stream for the associated dynamic method, as the target of an MSIL instruction.
/// A object representing the dynamic method to call.
// Token: 0x0600197B RID: 6523 RVA: 0x00061854 File Offset: 0x0005FA54
[MonoTODO]
public int GetTokenFor(DynamicMethod method)
{
throw new NotImplementedException();
}
/// Gets a token, valid in the scope of the current , representing a field to be accessed from the associated dynamic method.
/// A token that can be used as the operand of an MSIL instruction that accesses fields, in the scope of the current object.
/// A structure representing the field to be accessed.
// Token: 0x0600197C RID: 6524 RVA: 0x0006185C File Offset: 0x0005FA5C
[MonoTODO]
public int GetTokenFor(RuntimeFieldHandle field)
{
throw new NotImplementedException();
}
/// Gets a token, valid in the scope of the current , representing a method to be accessed from the associated dynamic method.
/// A token that can be used as the operand of an MSIL instruction that accesses methods, such as or , in the scope of the current object.
/// A structure representing the method to be accessed.
// Token: 0x0600197D RID: 6525 RVA: 0x00061864 File Offset: 0x0005FA64
[MonoTODO]
public int GetTokenFor(RuntimeMethodHandle method)
{
throw new NotImplementedException();
}
/// Gets a token, valid in the scope of the current , representing a type to be used in the associated dynamic method.
/// A token that can be used as the operand of an MSIL instruction that requires a type, in the scope of the current object.
/// A structure representing the type to be used.
// Token: 0x0600197E RID: 6526 RVA: 0x0006186C File Offset: 0x0005FA6C
[MonoTODO]
public int GetTokenFor(RuntimeTypeHandle type)
{
throw new NotImplementedException();
}
/// Gets a token, valid in the scope of the current , representing a string literal to be used in the associated dynamic method.
/// A token that can be used as the operand of an MSIL instruction that requires a string, in the scope of the current object.
/// The string to be used.
// Token: 0x0600197F RID: 6527 RVA: 0x00061874 File Offset: 0x0005FA74
[MonoTODO]
public int GetTokenFor(string literal)
{
throw new NotImplementedException();
}
/// Gets a token, valid in the scope of the current , representing a method on a generic type.
/// A token that can be used as the operand of an MSIL instruction that accesses methods, such as or , in the scope of the current object.
/// A structure representing the method.
/// The generic type the method belongs to.
// Token: 0x06001980 RID: 6528 RVA: 0x0006187C File Offset: 0x0005FA7C
[MonoTODO]
public int GetTokenFor(RuntimeMethodHandle method, RuntimeTypeHandle contextType)
{
throw new NotImplementedException();
}
/// Sets the code body of the associated dynamic method.
/// A array containing the MSIL stream.
/// The maximum number of items on the operand stack when the method is executing.
// Token: 0x06001981 RID: 6529 RVA: 0x00061884 File Offset: 0x0005FA84
[MonoTODO]
public void SetCode(byte[] code, int maxStackSize)
{
throw new NotImplementedException();
}
/// Sets the code body of the associated dynamic method.
/// A pointer to a byte array containing the MSIL stream.
/// The number of bytes in the MSIL stream.
/// The maximum number of items on the operand stack when the method is executing.
///
/// is less than 0.
// Token: 0x06001982 RID: 6530 RVA: 0x0006188C File Offset: 0x0005FA8C
[MonoTODO]
[CLSCompliant(false)]
public unsafe void SetCode(byte* code, int codeSize, int maxStackSize)
{
throw new NotImplementedException();
}
/// Sets the exception metadata for the associated dynamic method.
/// A array containing the exception metadata.
// Token: 0x06001983 RID: 6531 RVA: 0x00061894 File Offset: 0x0005FA94
[MonoTODO]
public void SetExceptions(byte[] exceptions)
{
throw new NotImplementedException();
}
/// Sets the exception metadata for the associated dynamic method.
/// A pointer to a byte array containing the exception metadata.
/// The number of bytes of exception metadata.
///
/// is less than 0.
// Token: 0x06001984 RID: 6532 RVA: 0x0006189C File Offset: 0x0005FA9C
[MonoTODO]
[CLSCompliant(false)]
public unsafe void SetExceptions(byte* exceptions, int exceptionsSize)
{
throw new NotImplementedException();
}
/// Sets the local variable signature that describes the layout of local variables for the associated dynamic method.
/// A array containing the layout of local variables for the associated .
// Token: 0x06001985 RID: 6533 RVA: 0x000618A4 File Offset: 0x0005FAA4
[MonoTODO]
public void SetLocalSignature(byte[] localSignature)
{
throw new NotImplementedException();
}
/// Sets the local variable signature that describes the layout of local variables for the associated dynamic method.
/// A array containing the layout of local variables for the associated .
/// The number of bytes in the signature.
///
/// is less than 0.
// Token: 0x06001986 RID: 6534 RVA: 0x000618AC File Offset: 0x0005FAAC
[MonoTODO]
[CLSCompliant(false)]
public unsafe void SetLocalSignature(byte* localSignature, int signatureSize)
{
throw new NotImplementedException();
}
}
}