protected XmlTypeMapping GetTypeMap (Type type)
{
ArrayList maps = _typeMap.RelatedMaps;
if (maps != null)
{
foreach (XmlTypeMapping map in maps)
if (map.TypeData.Type == type) return map;
}
throw new InvalidOperationException ("Type " + type + " not mapped");
}