Haibo Luo's weblog
The projects are set to be built against the .NET 4.0. ILVisualizer2010.zip
Date: 04/19/2010
IronPython offers a little bit more love to the Assembly object instance: we can directly access the...
Date: 03/12/2008
When you start interop'ing with .NET in IronPython, sooner or later, you will find that you are in...
Date: 03/12/2008
Each IronPython binary release ships two executable files: ipy.exe and ipyw.exe. Their (only)...
Date: 03/12/2008
While writing the ILVisualizer for dynamic method late 2005, I'd like to show the local variable...
Date: 03/08/2008
I attached the ILVisualizer VS2008 solution in this post. There is no source code update; the only...
Date: 03/07/2008
The .NET libraries normally do not expose the public field, but we can still find its' presence for...
Date: 10/28/2007
The following steps are what I did to get Visual Studio ready as my IronPython (and IronRuby)...
Date: 10/17/2007
C# allows method overloading. Given an argument list, the compiler performs the overload resolution...
Date: 10/11/2007
Python function may return multiple objects as a tuple. The .NET method can only return one object...
Date: 10/05/2007
Use keyword arguments to set properties or fields… you likely ask the question: where can we do...
Date: 10/02/2007
After getting a CLR type, we can play it like a python type. We can get the class/static methods...
Date: 10/01/2007
After loading the assembly by clr.AddReference and then import namespace, we are ready to take hold...
Date: 09/25/2007
In order to interop with .NET libraries, we need first load in the assemblies we want to play with....
Date: 09/25/2007
clr is an IronPython built-in module, which provides some functionalities in order to interop with...
Date: 09/25/2007
First I want to make it clear that this post means nothing related to IronPython's plan about...
Date: 08/03/2007
Two things related to array type name came to my mind while writing the previous post. Given an...
Date: 11/29/2006
The type "System.Array" provides us a set of API for the late-bound array operations, including...
Date: 11/27/2006
// // Please refer to https://blogs.msdn.com/haibo_luo "Late-bound array operations" post // // To...
Date: 11/27/2006
I was glad to hear many positive feedbacks about the DebuggerVisualizer for DynamicMethod; on the...
Date: 11/16/2006
I do not know why anyone ever need this :) but few readers did ask me similar questions before....
Date: 11/07/2006
# Sample code to demonstrate how to use ILReader # By Haibo Luo @ https://blogs.msdn.com/haibo_luo...
Date: 11/06/2006
Compared to what I posted previously here (or what was used in the DynamicMethod visualizer), this...
Date: 11/06/2006
Current dynamic method implementation does not have built-in support to pre-check whether the...
Date: 11/01/2006
After 2-year Reflection test ownership and 1-year babysitting for Reflection.Emit and DynamicMethod...
Date: 11/01/2006
Vararg (variable arguments) methods accept argument lists of unknown length and type. CLR supports...
Date: 08/13/2006
As John mentioned in his post, every Reflection user should keep this in mind: our code should not...
Date: 07/10/2006
Reflection.Emit is relatively new to me. Recently I had a chance to deal with a resource related...
Date: 04/26/2006
The GetCustomAttributes scenario (ICustomAttributeProvider.GetCustomAttributes or...
Date: 02/21/2006
Type.FullName returns null when the type is not generic type definition but contains generic...
Date: 02/17/2006
The following "Hello World" program shows how to use APIs in the class DynamicILInfo. MSDN...
Date: 01/30/2006
When working on .NET projects, we often need to find the right API or the proper parameters to pass...
Date: 01/18/2006
Q: Assume we have 2000 unknown types; (however) we know each type has a constructor with integer as...
Date: 11/17/2005
The following code is for the post "Activator.CreateInstance and beyond" **All source code is...
Date: 11/17/2005
Have you ever tried DynamicMethod, one of the coolest features in the .NET 2.0? Hope you have;...
Date: 10/25/2005
Reflection in .NET 2.0 ships with a new class MethodBody, which "provides access to information...
Date: 10/04/2005
In C#, nested types can be defined in generic classes just like they would be in non-generic...
Date: 09/28/2005
This was one ladybug in MSDN product feedback center. First of all, thanks to those who filed bugs...
Date: 09/02/2005
Yes, reflection can get this done. Assume we have an Enum type - Colors, the following code will...
Date: 08/28/2005
You might have already read this: VS2005 made the last-minute DCR related to boxed...
Date: 08/23/2005
Type.GetType gives us the ability to get type back from a string. We pass a well-written type name...
Date: 08/21/2005