/// <summary> /// Creates a new array type. /// </summary> /// <param name="elementType">The element type.</param> /// <param name="length">The array length.</param> /// <returns>The created array type.</returns> public ArrayType CreateArrayType(TypeNode elementType, int length) => TypeContext.CreateArrayType(elementType, length);
/// <summary> /// Creates a new array type. /// </summary> /// <param name="elementType">The element type.</param> /// <param name="dimension">The array dimension.</param> /// <returns>The created array type.</returns> public ArrayType CreateArrayType(TypeNode elementType, int dimension) => TypeContext.CreateArrayType(elementType, dimension);