internal TypeDesc GetArrayTypeDesc(Type type)
{
TypeDesc typeDesc = (TypeDesc)_arrayTypeDescs[type];
if (typeDesc == null)
{
typeDesc = GetTypeDesc(type);
if (!typeDesc.IsArrayLike)
{
typeDesc = ImportTypeDesc(type, null, false);
}
typeDesc.CheckSupported();
_arrayTypeDescs.Add(type, typeDesc);
}
return(typeDesc);
}