protected virtual void WriteListElement (XmlTypeMapping typeMap, object ob, string element, string namesp)
{
if (_format == SerializationFormat.Encoded)
{
string n, ns;
int itemCount = GetListCount (typeMap.TypeData, ob);
((ListMap) typeMap.ObjectMap).GetArrayType (itemCount, out n, out ns);
string arrayType = (ns != string.Empty) ? FromXmlQualifiedName (new XmlQualifiedName(n,ns)) : n;
WriteAttribute ("arrayType", XmlSerializer.EncodingNamespace, arrayType);
}
WriteListContent (null, typeMap.TypeData, (ListMap) typeMap.ObjectMap, ob, null);
}