public DynamicTypeInfo WithMethod(string methodName, Action <DynamicMethodInfo> methodDefinition)
        {
            var newMethodInfo = new DynamicMethodInfo(this, methodName);

            methodDefinition(newMethodInfo);

            return(this);
        }
Ejemplo n.º 2
0
 public void SetEntryPoint(DynamicMethodInfo method)
 {
     _assemblyBuilder.SetEntryPoint(method.MethodBuilder);
 }