Files
Dec2017-Script-Dump/mscorlib/System/Reflection/Emit/DynamicILInfo.cs
T
2026-06-04 11:42:34 +02:00

169 lines
9.5 KiB
C#

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