I have the following object graph:
public class BaseType
{
}
public class DerivedType : BaseType
{
}
When I pass DerivedType to XmlSerializer I need to have it reflect on BaseType instead of DerivedType. Is there a way to control this with attributes without implementing IXmlSerializer on DerivedType?