コード例 #1
0
        public DynamicTypeInfo WithMethod(string methodName, Action <DynamicMethodInfo> methodDefinition)
        {
            var newMethodInfo = new DynamicMethodInfo(this, methodName);

            methodDefinition(newMethodInfo);

            return(this);
        }
コード例 #2
0
 public void SetEntryPoint(DynamicMethodInfo method)
 {
     _assemblyBuilder.SetEntryPoint(method.MethodBuilder);
 }