private bool IsPrimitiveArray(IType type) { return type.IsArray() && IsSimple(type.GetScalarType()); }