mono/mono — pull request #1223 by esdrubal (2014-08-22 10:54:12+00:00)
Title: Test SerializationCodeGenerator.

XmlSerializerTests was mostly testing XmlSerializationReaderInterpreter and XmlSerializationWriterInterpreter.
Added XmlSerializerGeneratorTests, it forces the use of SerializationCodeGenerator while running XmlSerializerTests.

Fixed SerializationCodeGenerator issues that were producing invalid code.

Fixed serialization of XmlNode field with attribute XmlAnyElement.
**Fixes:**[#3211](https://bugzilla.xamarin.com/show_bug.cgi?id=3211)