This blog is to introduce some new features about Managed CodeGen in Whidbey. We provided a new way of doing LightWeight CodeGen, added support for emitting Generics in Reflection.Emit and there is some new exciting token handle stories in Reflection going on.
April 2005 - Posts
-
We have some token APIs on Module Builder that can be used to as an optional approach as to regular Refelction.Emit APIs. They are: public TypeToken GetTypeToken(Type type) public TypeToken GetTypeToken(String name) // this looks just like ModuleBuilder.GetType(string). Read More...
|
-
Reflection.Emit can emit Generics! Checkout here: Here is a code sample that tells you how to emit various Generics. It is created as dev unit test by Chris King who implemented Reflection.Emit on Generics. using System; using System.Reflection; using Read More...
|
-
This is my first post. Let me start by introducing a small program that you can do with Whidbey Reflection. Here is a small app showing you how you can get all the methods in Assembly A that is referenced by Assembly B. There was no API such as GetReferencedMethods Read More...
|