THE BORE
General => The Superdeep Borehole => Topic started 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
-
...
wait for 4.0!
-
Fascinating.
-
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.