SysDictClass method implementedBy() returns as if class implements itself

Iterator Design PatternDuring my research of iterator design pattern usage in Microsoft Dynamics AX, I was using reflection in X++ to check class hierarchy of some classes that are part of kernel. 

In class SysDictClass, method implementedBy() returns list of classes that implement given class or interface. What is strange is that it always returns that same class in this list, as if it is considered that class implements itself.

Finding this very strange, I made simple workaround. It is part of job that shows some basic reflection stuff, and it does not show that class implements itself.

Here is the code for this simple job: Job_ReflectionJob.zip

Facebook Google Buzz BlinkList Del.icio.us Digg It! DZone It! Furl NewsVine Reddit StumbleUpon Technorati

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Other profiles

View Bojan Jovicic's Microsoft MVP profile

View Bojan Jovicic's profile on LinkedIn

Follow Bojan Jovicic on Twitter

View Bojan Jovicic's profile on Facebook

View Bojan Jovicic's (CSM, CSP) ScrumAlliance profile

Search

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012