This ia two years late. But, thanks for the usefull tip. One thing I relealized, is that you require elivated privileges to do this (atleast in my applicaiton).
SPSecurity.RunWithElevatedPrivileges(delegate() { List = new SPSite(list.ParentWeb.Site.ID).AllWebs[list.ParentWeb.ID].Lists[list.ID]; });
1 comments: