shulerent.com
Handling Invalid Enum values in a DataContractSerializer
This all started when I was trying to serialize a CodeDom graph (actually a CodeNamespace object) using a DataContractSerializer. I hit the dreaded “Enum value ‘20482’ is invalid for type…” (Note: …