Table of Contents

Method GetProxyType

Namespace
MonoMod.Utils.Cil
Assembly
MonoMod.Utils.dll

GetProxyType<TShim>()

Get the proxy type for a given ILGeneratorShim type. The proxy type implements ILGenerator.
public static Type GetProxyType<TShim>() where TShim : ILGeneratorShim

Returns

Type
The "real" ILGenerator type.

Type Parameters

TShim
The ILGeneratorShim type.

GetProxyType(Type)

Get the proxy type for a given ILGeneratorShim type. The proxy type implements ILGenerator.
public static Type GetProxyType(Type tShim)

Parameters

tShim Type
The ILGeneratorShim type.

Returns

Type
The "real" ILGenerator type.