示例#1
0
文件: DeobUtils.cs 项目: zrzhd/de4dot
        public static MethodDef GetResolveMethod(MethodDef method)
        {
            var handlers = DeobUtils.GetAllResolveHandlers(method);

            if (handlers.Count == 0)
            {
                return(null);
            }
            return(handlers[0]);
        }
示例#2
0
 protected T Lookup <T>(T def, string errorMessage) where T : class, ICodedToken
 {
     return(DeobUtils.Lookup(module, def, errorMessage));
 }
示例#3
0
 protected T lookup <T>(T def, string errorMessage) where T : MemberReference
 {
     return(DeobUtils.lookup(module, def, errorMessage));
 }