I want to serialize an object with DataMember attribute to be ignored on some properties.
Say I have custom attribute MyIgnoreDataMember.
I want properties marked with it to be invisible for my custom DataContractSerializer, but visible for the normal DataContractSerializer.
And I have to use DataContractSerializer and nothing else.
The code is a Silverlight app.
Anyone have done subclassing DataContractSerializer successfully?