CLRSharp.Method_Common_System.Method_Common_System C# (CSharp) Method

Method_Common_System() public method

public Method_Common_System ( ICLRType DeclaringType, System method ) : System
DeclaringType ICLRType
method System
return System
        public Method_Common_System(ICLRType DeclaringType, System.Reflection.MethodBase method)
        {
            if (method == null)
                throw new Exception("not allow null method.");
            method_System = method;
            this.DeclaringType = DeclaringType;
            if (method is System.Reflection.MethodInfo)
            {
                System.Reflection.MethodInfo info = method as System.Reflection.MethodInfo;
                ReturnType = DeclaringType.env.GetType(info.ReturnType);
            }
            ParamList = new MethodParamList(DeclaringType.env, method);
        }
Method_Common_System