1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 00:38:47 +00:00

Fix xmldoc for NextDouble(double)

No minValue parameter, reference was invalid
This commit is contained in:
Oliver Booth 2021-03-09 16:45:48 +00:00
parent 8a168f0ff0
commit 89ce281656

View File

@ -61,17 +61,14 @@ namespace X10D.RandomExtensions
/// </summary> /// </summary>
/// <param name="random">The <see cref="System.Random" /> instance.</param> /// <param name="random">The <see cref="System.Random" /> instance.</param>
/// <param name="maxValue"> /// <param name="maxValue">
/// The exclusive upper bound of the random number returned. This value must be greater than or equal to /// The exclusive upper bound of the random number returned. This value must be greater than or equal to 0.
/// <paramref name="minValue" />.
/// </param> /// </param>
/// <returns> /// <returns>
/// A random double-precision floating point number that is greater than or equal to 0, and less than /// A random double-precision floating point number that is greater than or equal to 0, and less than
/// <paramref name="maxValue" />. /// <paramref name="maxValue" />.
/// </returns> /// </returns>
/// <exception cref="ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception> /// <exception cref="ArgumentNullException"><paramref name="random" /> is <see langword="null" />.</exception>
/// <exception cref="ArgumentException"> /// <exception cref="ArgumentException"><paramref name="maxValue" /> is less than 0.</exception>
/// <paramref name="maxValue" /> is less than <paramref name="minValue" />.
/// </exception>
public static double NextDouble(this Random random, double maxValue) public static double NextDouble(this Random random, double maxValue)
{ {
if (random is null) if (random is null)