.NET 8 migration; closes #10

This commit is contained in:
Thorsten Sommer 2024-05-29 11:34:37 +02:00
parent 4602bb14af
commit a8121a306e
No known key found for this signature in database
GPG Key ID: B0B7E2FC074BF1F5
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<AssemblyVersion>1.1.2</AssemblyVersion> <AssemblyVersion>1.1.2</AssemblyVersion>
<FileVersion>1.1.2</FileVersion> <FileVersion>1.1.2</FileVersion>

View File

@ -66,7 +66,7 @@ public sealed class MultiThreadedRng<TNum> : IRandom<TNum>, IDisposable where TN
private uint mZ; private uint mZ;
// This is the current buffer for the consumer side i.e. the public interfaces: // This is the current buffer for the consumer side i.e. the public interfaces:
private TNum[] currentBuffer = Array.Empty<TNum>(); private TNum[] currentBuffer = [];
// The current pointer to the next current buffer's address to read from: // The current pointer to the next current buffer's address to read from:
private int currentBufferPointer = BUFFER_SIZE; private int currentBufferPointer = BUFFER_SIZE;

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>