Expando classes should not implement IEnumerable. The interface is implicitly defined on expando classes.
An expando class implements IEnumerable explicitly. This is not necessary, since classes with the expando modifier implicitly implement IEnumerable.
To correct this error
-
Do not implement IEnumerable explicitly.
See Also
Reference
expando ModifierConcepts
Other Resources
JScript ReferenceClass-based Objects