[Modify] Remove it

This commit is contained in:
sta 2022-02-09 19:37:32 +09:00
parent 2cf8ea9055
commit 89a01d3dc7

View File

@ -1764,27 +1764,6 @@ namespace WebSocketSharp
return ret;
}
/// <summary>
/// Executes the specified delegate <paramref name="n"/> times.
/// </summary>
/// <param name="n">
/// A <see cref="ulong"/> that specifies the number of times to execute.
/// </param>
/// <param name="action">
/// An <see cref="Action"/> delegate to execute.
/// </param>
public static void Times (this ulong n, Action action)
{
if (n == 0)
return;
if (action == null)
return;
for (ulong i = 0; i < n; i++)
action ();
}
/// <summary>
/// Executes the specified delegate <paramref name="n"/> times.
/// </summary>