Managed CodeGen

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 goin

April, 2005

Posts
  • Managed CodeGen

    Token APIs on Module Builder

    • 1 Comments
    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...
  • Managed CodeGen

    How to Emit Generics

    • 5 Comments
    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;...
  • Managed CodeGen

    Token Resolution (I)

    • 2 Comments
    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...
Page 1 of 1 (3 items)