Wednesday, March 01, 2006

System.Enum.CompareTo needs boxed values...

I got a report of a bug in the DynamicComparer sources when comparing Enum values. Turns out that you need to box the values before you call System.Enum.CompareTo().

I've made the necessary changes in both the and files.

RE: Dynamic sorting of objects using lightweight code generation.

No comments: