From 0fd53d6a8abc8ee0dd728e13645f4110a88717e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D0=BD=D1=81=D1=82=D0=B0=D0=BD=D1=82=D0=B8?= =?UTF-8?q?=D0=BD=20=D0=94=D1=8C=D1=8F=D1=87=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Fri, 25 Oct 2019 13:03:22 +0300 Subject: [PATCH] Closes #12. --- RandomExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RandomExtensions.cs b/RandomExtensions.cs index 9474ef0..df6cc48 100644 --- a/RandomExtensions.cs +++ b/RandomExtensions.cs @@ -19,7 +19,7 @@ public static class RandomExtensions /// 64-разрядное целое число без знака, которое больше или равно и меньше или равно . /// [MethodImpl(MethodImplOptions.AggressiveInlining)] - public static ulong NextUInt64(this System.Random random) => random.NextUInt64((ulong.MinValue, ulong.MaxValue)); + public static ulong NextUInt64(this System.Random random) => random.NextUInt64(Range.UInt64); /// /// Returns a random 64-bit unsigned integer that is greater than or equal to minimum of specified range, and less than or equal to maximum of specified range.