System.Xml.Serialization.XmlSerializationCodeGen.GenerateMethod C# (CSharp) Method