John Lam 1997 — 2026

Whidbey MethodBody.GetILAsByteArray

In Joel Pobar’s recent blog on new features in Whidbey’s System.Reflection, he mentions that MethodBody.GetILAsByteArray is a preliminary API for the power users of reflection. This is because the real API is still under development. The ability to pull an AST out of a method body will make writing tools like FXCop and Demeanor (not to mention custom compilers and decompilers) much easier.

1 archived reader comment

Jonathan de Halleux (2004-06-25)

Yes yes yes! This would be great (10x)!