Class DMDCecilGenerator
A DMDGenerator implementation using Mono.Cecil to build an in-memory assembly.
Namespace: MonoMod.Utils
Assembly: MonoMod.Utils.dll
Syntax
public sealed class DMDCecilGenerator : DMDGenerator<DMDCecilGenerator>, _IDMDGenerator
Constructors
DMDCecilGenerator()
Declaration
public DMDCecilGenerator()
Methods
_Generate(DynamicMethodDefinition, Object)
Declaration
protected override MethodInfo _Generate(DynamicMethodDefinition dmd, object context)
Parameters
Type | Name | Description |
---|---|---|
DynamicMethodDefinition | dmd | |
System.Object | context |
Returns
Type | Description |
---|---|
System.Reflection.MethodInfo |
Overrides
MonoMod.Utils.DMDGenerator<MonoMod.Utils.DMDCecilGenerator>._Generate(MonoMod.Utils.DynamicMethodDefinition, System.Object)