/// <summary>Gets a value indicating whether this instance is enumerable.</summary>
 /// <param name="type">The type.</param>
 /// <returns><c>true</c> if the specified type is enumerable; otherwise, <c>false</c>.</returns>
 private bool IsEnumerable(IType type)
 {
   var enumerable = TypeFactory.CreateTypeByCLRName("System.Collections.IEnumerable", type.Module, type.GetResolveContext());
   return type.IsSubtypeOf(enumerable);
 }