> > Anybody have a clue why this: > > > > private static string GetKind(Type t) > > { > > // ... > > } > > Try changing it to: > > if (t.IsValueType){ > if (t.BaseType.FullName == "System.Enum") > ... > > The compiler has a similar issue, because testing for something is done > against a type loaded from an assembly, which might not be the same type > the runtime has. Yeah, that works. Thanks! ~ j.