Hello,

     Over the years, to match the various profiles in .NET we have used
conditional compilation to match the profile.    In the case of CLSCompliant
attribute we had written code like this:

#if NET_XXXX  /* New in NET_XXXX */
      [CLSCompliant (false)]
#endif
      void SomeMethod (uint foo);

    It turns out that those CLSCompliant attributes are really bug fixes
that have been done over the years.   We should stop considering those a
profile-specific feature, and instead just add the attribute if required,
regardless of the profile.

    So do not waste your time adding the ifdefs when it comes to this
attribute.

Miguel.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to