Hey Michael, On Fri, Apr 16, 2010 at 6:46 PM, Michael Sync <mchls...@gmail.com> 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 <j...@nurv.fr> -- -- mono-cecil Subscription settings: http://groups.google.com/group/mono-cecil/subscribe?hl=en