XmlSerializer.Serialize Method (Object, XmlSerializationWriter)
.NET Framework 4.6 and 4.5
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Assembly: System.Xml (in System.Xml.dll)
Any attempt is made to access the method when the method is not overridden in a descendant class.