Skip to content
This repository was archived by the owner on Jan 27, 2019. It is now read-only.

Conversation

@Rottweiler
Copy link

Added compability with XmlSerializer, or any other serializer for that matter.

Previously: renamed classes that were meant to be serialized {more than likely caused errors)
Now: does not rename classes marked [Serialized], nor any fields of this class (because XmlSerializer ignores [NonSerialized])

Just can't seem to detect [XmlIgnoreAttribute] for whatever reason (see code).

@fjch1997
Copy link

fjch1997 commented Nov 9, 2016

Thanks very much for the fix.

It looks like your change detects SerializableAttribute and prevent properties to be renamed when the class is Serializable.
However, SerializableAttribute wasn't designed to apply on properties. I explained this in another pull request #493

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants