diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 72b88599..cb66a735 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -1562,26 +1562,46 @@ namespace WebSocketSharp } /// - /// Retrieves a sub-array from the specified . A sub-array starts at - /// the specified element position in . + /// Retrieves a sub-array from the specified array. A sub-array starts at + /// the specified index in the array. /// /// - /// An array of T that receives a sub-array, or an empty array of T if any problems with - /// the parameters. + /// An array of T that receives a sub-array. /// /// /// An array of T from which to retrieve a sub-array. /// /// - /// An that represents the zero-based starting position of - /// a sub-array in . + /// An that represents the zero-based index in the array + /// at which retrieving starts. /// /// /// An that represents the number of elements to retrieve. /// /// - /// The type of elements in . + /// The type of elements in the array. /// + /// + /// is . + /// + /// + /// + /// is out of range for the array. + /// + /// + /// -or- + /// + /// + /// is less than zero. + /// + /// + /// -or- + /// + /// + /// is greater than the number of elements from + /// to the end of the array. + /// + /// public static T[] SubArray (this T[] array, int startIndex, int length) { if (array == null)