示例#1
0
 /// <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);
示例#2
0
 /// <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);