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

A Tool (attached) to help figure out how to emit a type

After being in Exchange for almost a year, I tend to forget the how to run Reflection.Emit that I...

Author: yirutang Date: 06/07/2006

I am moving onto Exchange Team

I am going to program in the Server world using managed code! Maybe after some time, I will start a...

Author: yirutang Date: 12/09/2005

Sample Code to invoke managed code inside profiling API

ProfilerCallback.cpp // This is the function that will invoke the managed code through COM interop...

Author: yirutang Date: 12/09/2005

CLR Profiling API

I think CLR Profiling API is one of the coolest things in CLR. Here is a nice article I just found...

Author: yirutang Date: 09/28/2005

Something about ReflectionOnly Context

I was reading Joel's blog about new stuff in Reflection and he mentioned ReflectionOnly context....

Author: yirutang Date: 09/14/2005

GetMethod limitation regarding Generics

I've got several inquiry emails about this issue, so I think it is a good idea to publish the...

Author: yirutang Date: 09/14/2005

HaiboLuo's blog

Our Reflection QA definitely knows a lot and he is now having a blog of his own:...

Author: yirutang Date: 09/13/2005

Reflection.Emit is not ThreadSafe

Users are not supposed to operate on same Reflection.Emit object on multiple threads....

Author: yirutang Date: 09/13/2005

Unexpected TypeLoadException during Type Creation

We have found some limitations in Reflection.Emit that you cannot emit types that can be compiled in...

Author: yirutang Date: 07/11/2005

Token Handle Resolution with Generics

In Whidbey, apart from the token handle resolution APIs I mentioned earlier, there are some...

Author: yirutang Date: 07/04/2005

Something about Resolution APIs

I haven't blogged for a long time because we were busy hitting ZBB for RTM milestone. I am not aware...

Author: yirutang Date: 07/02/2005

Shawn's Blog about Dynamic Assemblies and Declarative Security

Shawn has an excellent post about Dynamic Assemblies and Declarative Security, please check it out:...

Author: yirutang Date: 06/15/2005

Debugging LCG

Maybe it is a little to early to jump into this talk but I think for a user starting to use LCG, he...

Author: yirutang Date: 05/26/2005

Start on LCG

I think I will start severl topics around LCG in the furture. Our PM Joel has an excellent post...

Author: yirutang Date: 05/19/2005

Known Reflection.Emit Restrictions

Shreeman suggested us to publish a list of Reflection.Emit known restrictions (that is not going to...

Author: yirutang Date: 05/19/2005

TypeName Grammar

I was about to post another blog regarding to tokens and handles and generics, but our Reflection...

Author: yirutang Date: 05/05/2005

Token APIs on Module Builder

We have some token APIs on Module Builder that can be used to as an optional approach as to regular...

Author: yirutang Date: 04/29/2005

How to Emit Generics

Reflection.Emit can emit Generics! Checkout here: Here is a code sample that tells you how to emit...

Author: yirutang Date: 04/28/2005

Token Resolution (I)

This is my first post. Let me start by introducing a small program that you can do with Whidbey...

Author: yirutang Date: 04/28/2005