public static MethodDef GetResolveMethod(MethodDef method) { var handlers = DeobUtils.GetAllResolveHandlers(method); if (handlers.Count == 0) { return(null); } return(handlers[0]); }
protected T Lookup <T>(T def, string errorMessage) where T : class, ICodedToken { return(DeobUtils.Lookup(module, def, errorMessage)); }
protected T lookup <T>(T def, string errorMessage) where T : MemberReference { return(DeobUtils.lookup(module, def, errorMessage)); }