internal virtual void InternalWriteEndObject(XmlWriterDelegator writer) { DiagnosticUtility.DebugAssert("XmlObjectSerializer.InternalWriteEndObject should never get called"); throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); }