Re: Automatic Properties on 2.0

Daniel Petersson <[email protected]> Fri, 28 Mar 2008 14:26:22 +0100
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <E8FBCCA96548DD46A1AC748F17EEAD9C19934C604C@cefalo-mail01.cefalo.local>
Brad; It is pretty obvious that the code for the 3.5 compiler won't compile=
 in a 2.0 project!
(even if they used the same compiler in different modes) MS did slipp-up wh=
en they decided
on their current versioning scheme but I seems that you did a rather nasty =
slip yourself =3D)
--Daniel

________________________________________
From: Discussion of development on the .NET platform using any managed     =
         language [[email protected]] On Behalf Of Brady Kelly=
 [[email protected]]
Sent: Friday, March 28, 2008 1:18 PM
To: [email protected]
Subject: [DOTNET-CLR] Automatic Properties on 2.0

I thought these were merely syntactical sugar offered by the 3.5 compiler,
but would compile down to normal getters and setters that would work on the
2.0 framework.  Yes, when I try and 'down-grade' a 3.5 project to 2.0, I ge=
t
compiler errors for automatic properties.  Is this just something I have to
live with, or is there another way?


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This list is hosted by DevelopMentor?  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This list is hosted by DevelopMentor=AE  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com