Beispiel #1
0
        private Code GetCode(MemberInfo methodInfo)
        {
            Code code = methodInfo.CodeAttribute();

            if (code == null)
            {
                throw new Exception("No code exception");
            }
            return(code);
        }