diff --git a/FastRng/FastRng.csproj b/FastRng/FastRng.csproj index 74eaaf3..06142fa 100644 --- a/FastRng/FastRng.csproj +++ b/FastRng/FastRng.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 true 1.1.2 1.1.2 diff --git a/FastRng/MultiThreadedRng.cs b/FastRng/MultiThreadedRng.cs index 68c2177..3bbd21a 100644 --- a/FastRng/MultiThreadedRng.cs +++ b/FastRng/MultiThreadedRng.cs @@ -66,7 +66,7 @@ public sealed class MultiThreadedRng : IRandom, IDisposable where TN private uint mZ; // This is the current buffer for the consumer side i.e. the public interfaces: - private TNum[] currentBuffer = Array.Empty(); + private TNum[] currentBuffer = []; // The current pointer to the next current buffer's address to read from: private int currentBufferPointer = BUFFER_SIZE; diff --git a/FastRngTests/FastRngTests.csproj b/FastRngTests/FastRngTests.csproj index 07d3755..2cc4d1d 100644 --- a/FastRngTests/FastRngTests.csproj +++ b/FastRngTests/FastRngTests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 false