August, 2005

Posts
  • kingces's WebLog

    MemberInfo Identity, Comparing MemberInfos

    • 2 Comments
    The identity most users would expect MemberInfos (other than Type) to have is not what Reflection provides. So for example most folks would expect the follow program to print true instead of false: public class B { public void M() { } } public...
  • kingces's WebLog

    Never use Type.ReflectedType

    • 0 Comments
    Never use MemberInfo.ReflectedType. ReflectedType is not well defined and so logic which depends on it is also not well defined. Using ReflectedType won’t crash your system but chances are that you’ve got a bug in whatever logic is using ReflectedType...
Page 1 of 1 (2 items)