sorry, stupid me ! I forgot to make it an interface. So the base class was List and the derived IList.
I changed base to IList and no complains... thanks.. On Fri, Nov 26, 2010 at 4:46 PM, Simon Cropp <[email protected]> wrote: > I would say depends on the code. Can u post the IL and the c# u r > trying to emulate. > > > > On 27/11/2010, at 8:33 AM, joer <[email protected]> wrote: > >> Hi, >> >> i changed my IL so it stores into a local variable a DERIVED type >> instead of the base class. PEVERIFY complains that it expects the base >> class, however code seems to run. >> >> Is this an error which can be ignored (a derived type is always a >> member of its base class, why does it complain ), or will I run into >> problems somewhere else ? >> >> Joe >> >> -- >> -- >> mono-cecil > > -- > -- > mono-cecil -- Kindest regards Joe Robe President RobeSoft Inc. Phone:+1 954 234 2662 Fax:+1 813 425-9759 EMail:[email protected] Skype:joer00 Yahoo Messenger ONLY(do not send email):[email protected] MSN:Messenger ONLY(do not send email):[email protected] www.RobeSoft.com -- -- mono-cecil
