Hey Jb, Okay.. Sure. I will create something "PHONE" so we can use #if PHONE.. :)
>>Well, as I said previously, Cecil's test suite is quite tied to NUnit In that case, Shall we make different tests for WP7? What should we do to check whether Cecil is actually working fine or not? Thanks and Best Regards, Michael Sync Don't go the way life takes you. Take life the way you go http://michaelsync.net On Sat, Apr 17, 2010 at 1:22 AM, Jb Evain <[email protected]> wrote: > Hey Michael, > > On Fri, Apr 16, 2010 at 6:46 PM, Michael Sync <[email protected]> wrote: > > 1. ModuleDefinition.cs > > I added && !SILVERLIGHT before this method TypeReference Import (Type > type). > > 2. MetadataImporter > > I added this line #if !CF && !SILVERLIGHT after constructor. > > Please let me know if I shouldn't be doing this. Thanks. > > Indeed you shouldn't :) > > Those work just fine on Silverlight, so we shouldn't ifdef them out. > But I think you should just define `CF` when building for the W7 > phone, and be done with it. > > Well, except for the TypedReference thing. Everywhere we have a > TypedReference, well, reference, we could ifdef it out using: > > #if !WP7 > // ... > #endif > > -- > Jb Evain <[email protected]> > > -- > -- > mono-cecil > > Subscription settings: > http://groups.google.com/group/mono-cecil/subscribe?hl=en > -- -- mono-cecil
