THE BORE

General => The Superdeep Borehole => Topic started by: recursivelyenumerable on May 18, 2009, 12:57:25 AM

Title: in honor of 4.0's impending beta release, a .NET bitching thread
Post by: recursivelyenumerable on May 18, 2009, 12:57:25 AM
does System.Type.MakeGenericType really return just a (small-g) generic ArgumentException regardless of whether you passed the wrong number of params or invalid params or whatever?  really?   :maf
Title: Re: in honor of 4.0's impending beta release, a .NET bitching thread
Post by: Van Cruncheon on May 18, 2009, 01:00:23 AM
...

wait for 4.0!
Title: Re: in honor of 4.0's impending beta release, a .NET bitching thread
Post by: Diunx on May 18, 2009, 01:01:17 AM
Fascinating.
Title: Re: in honor of 4.0's impending beta release, a .NET bitching thread
Post by: recursivelyenumerable on May 18, 2009, 01:08:25 AM
because what I would really like to do is take advantage of some of the compile-time machinery, i.e. static typechecking, at runtime.  since I can't do that exactly, I am looking at the Reflection stuff and PostSharp for ideas on how to hack together something analogous.

I understand that the C# team is looking at something that may be along these lines ("compiler as service"?) for the next version after 4.0, but I don't wanna wait that long.