string GetReadObjectCall (XmlTypeMapping typeMap, string isNullable, string checkType)
{
if (_format == SerializationFormat.Literal)
return GetReadObjectName (typeMap) + " (" + isNullable + ", " + checkType + ")";
else
return GetCast (typeMap.TypeData, GetReadObjectName (typeMap) + " ()");
}