-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve type naming ambiguity with XmlRootAttribute
For any type with non unique name without XmlRootAttribute SGEN.exe fails to generate xml serialization assembly with error: The top XML element 'XXX' from namespace '' references distinct types Test.Namespace.XXX and Test.Another.Namespace.XXX. Use XML attributes to specify another XML name or namespace for the element or types. This commit defines RootElementName for all types without RootElementName (except interfaces) if type name is not unique
- Loading branch information
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters