Thanks a lot. I've thought that named arguments and dynamic - are just syntax sugar, but wasn't sure. It's nice to know that I can upgrade to 4.0 without breaking existing cecil based functionality. Great job!
On Sun, Apr 25, 2010 at 9:06 PM, Jb Evain <[email protected]> wrote: > On Sun, Apr 25, 2010 at 7:00 PM, Александр Буряк > <[email protected]> wrote: > > What's about new features introduced in new .NET like named and optional > > arguments, code contracts, covariance/contravariance, "dynamic" keyword - > > are they exposed for accessing/modification by Cecil? > > Named arguments is just syntactic sugar. VB had optional[1] arguments > since .net 1.0. .net 2.0 added support for covariance[2] and > contravariance[3]. Code contracts are just traditional methods. > Dynamic is just syntactic sugar. > > [1] ParameterDefinition.HasConstant/ParameterDefinition.Constant > [2] GenericParameter.IsCovariant > [3] GenericParameter.IsContravariant > > -- > Jb Evain <[email protected]> > > -- > -- > mono-cecil > > Subscription settings: > http://groups.google.com/group/mono-cecil/subscribe?hl=en > -- -- mono-cecil
