I am using xml serialization but now came across a runtime error I haven\'t seen before.
\"To be XML serializable, types which inherit from IEnumera
Because sub classes implicitly implement interface methods because of the base class but xmlserializer is using reflection and that is why you get the error at runtime and not compile time.
Try explicitly implementing and see what happens. I have not had this issue before so I'm not sure why you are unless you're doing something custom.
If you have your sub classes explicitly implementing the interface but not doing any implementation code (letting the implicit implementation of methods happen) then remove the interface from your sub type declaration as it should still be valid due to your base type. (someone tell me if i'm off here)