예제 #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));
 }