Skip to content

Commit 75fdc3b

Browse files
committed
Update project to net10.0
1 parent 298c81d commit 75fdc3b

File tree

10 files changed

+37
-71
lines changed

10 files changed

+37
-71
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<img align="right" width="160px" height="160px" src="https://raw.githubusercontent.com/XenoAtom/XenoAtom.Allocators/main/img/XenoAtom.Allocators.png">
44

5-
This library provides fast, lightweight and low-level memory allocators for .NET.
5+
XenoAtom.Allocators is a fast, lightweight and low-level memory allocator for .NET.
66

77
## ✨ Features
88

src/Directory.Packages.props

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageVersion Include="BenchmarkDotNet" Version="0.13.12" />
8-
<PackageVersion Include="MinVer" Version="5.0.0" />
9-
<PackageVersion Include="MSTest" Version="3.5.0" />
10-
<PackageVersion Include="Verify.DiffPlex" Version="3.1.0" />
11-
<PackageVersion Include="Verify.MSTest" Version="25.3.2" />
12-
<PackageVersion Include="XenoAtom.Collections" Version="1.1.0" />
7+
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
8+
<PackageVersion Include="MinVer" Version="7.0.0" />
9+
<PackageVersion Include="MSTest" Version="4.1.0" />
10+
<PackageVersion Include="Verify.DiffPlex" Version="3.1.2" />
11+
<PackageVersion Include="Verify.MSTest" Version="31.13.2" />
12+
<PackageVersion Include="XenoAtom.Collections" Version="1.2.0" />
1313
</ItemGroup>
14-
</Project>
14+
</Project>

src/XenoAtom.Allocators.Bench/XenoAtom.Allocators.Bench.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>

src/XenoAtom.Allocators.Tests/BasicTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public async Task TestAllocate3()
117117

118118
// Free allocation 1
119119
tlsf.Free(allocation1);
120-
Assert.ThrowsException<ArgumentException>(() => tlsf.Free(allocation1));
120+
Assert.Throws<ArgumentException>(() => tlsf.Free(allocation1));
121121

122122
Assert.AreEqual(2U, tlsf.Chunks[0].UsedBlockCount);
123123
Assert.AreEqual(2U, tlsf.Chunks[0].FreeBlockCount);

src/XenoAtom.Allocators.Tests/XenoAtom.Allocators.Tests.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<IsPackable>false</IsPackable>
7-
<EnableMSTestRunner>true</EnableMSTestRunner>
87
</PropertyGroup>
98

109
<ItemGroup>

src/XenoAtom.Allocators.sln

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/XenoAtom.Allocators.slnx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<Solution>
2+
<Folder Name="/00-General/">
3+
<File Path="../.editorconfig" />
4+
<File Path="../.gitattributes" />
5+
<File Path="../.github/workflows/ci.yml" />
6+
<File Path="../.gitignore" />
7+
<File Path="../license.txt" />
8+
<File Path="../readme.md" />
9+
<File Path="Directory.Build.props" />
10+
<File Path="Directory.Packages.bak" />
11+
<File Path="Directory.Packages.props" />
12+
<File Path="dotnet-releaser.toml" />
13+
<File Path="global.json" />
14+
</Folder>
15+
<Folder Name="/01-Documentation/">
16+
<File Path="../doc/readme.md" />
17+
</Folder>
18+
<Project Path="XenoAtom.Allocators.Bench/XenoAtom.Allocators.Bench.csproj" />
19+
<Project Path="XenoAtom.Allocators.Tests/XenoAtom.Allocators.Tests.csproj" />
20+
<Project Path="XenoAtom.Allocators/XenoAtom.Allocators.csproj" />
21+
</Solution>

src/XenoAtom.Allocators/XenoAtom.Allocators.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
<ItemGroup>
3434
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
3535
<PackageReference Include="MinVer">
36-
<PrivateAssets>all</PrivateAssets>
3736
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3837
</PackageReference>
3938
<PackageReference Include="XenoAtom.Collections" />

src/dotnet-releaser.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# configuration file for dotnet-releaser
22
# Disable default packs - It will only publish NuGet and the Changelog
33
[msbuild]
4-
project = "XenoAtom.Allocators.sln"
4+
project = "XenoAtom.Allocators.slnx"
55
[github]
66
user = "XenoAtom"
7-
repo = "XenoAtom.Allocators"
7+
repo = "XenoAtom.Allocators"
8+
[changelog]
9+
owners = ["xoofx"] # To avoid to be mentioned in the changelog

src/global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100",
3+
"version": "10.0.100",
44
"rollForward": "latestMinor",
55
"allowPrerelease": false
66
}

0 commit comments

Comments
 (0)