Skip to content

Commit 7b1a2fe

Browse files
committed
fix #47
1 parent 720e148 commit 7b1a2fe

9 files changed

Lines changed: 22 additions & 70 deletions

File tree

Frent.Benchmarks/Frent.Benchmarks.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
<ImplicitUsings>enable</ImplicitUsings>
77
<DefineConstants>$(DefineConstants);BENCHMARK</DefineConstants>
88
</PropertyGroup>

Frent.Fuzzing/Frent.Fuzzing.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
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

Frent.Sample/Frent.Sample.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
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<PublishReadyToRun>false</PublishReadyToRun>

Frent.Tests/Frent.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

Frent.sln

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

Frent.slnx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Solution>
2+
<Project Path="Frent.Benchmarks/Frent.Benchmarks.csproj" />
3+
<Project Path="Frent.Fuzzing/Frent.Fuzzing.csproj" />
4+
<Project Path="Frent.Generator/Frent.Generator.csproj" />
5+
<Project Path="Frent.Sample/Frent.Sample.csproj" />
6+
<Project Path="Frent.Tests/Frent.Tests.csproj" />
7+
<Project Path="Frent.Variadic.Generator/Frent.Variadic.Generator.csproj" />
8+
<Project Path="Frent/Frent.csproj" />
9+
</Solution>

Frent/Core/IDTypeFilter.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,14 @@ internal static IDTypeFilter[] CreateComponentIDFilters(UpdateMethodData[] metho
5959
{
6060
ref UpdateMethodData data = ref methods[i];
6161

62-
if (TypeFilterRecord.None == data.TypeFilterRecord)
62+
if (ReferenceEquals(TypeFilterRecord.None, data.TypeFilterRecord))
6363
continue;
6464

65-
componentIDTypeFilter ??= new IDTypeFilter[i + 1];
65+
if(componentIDTypeFilter is null)
66+
{
67+
componentIDTypeFilter = new IDTypeFilter[i + 1];
68+
componentIDTypeFilter.AsSpan().Fill(IDTypeFilter.None);
69+
}
6670

6771
componentIDTypeFilter[i] = CreateFromRecordCore(in data.TypeFilterRecord);
6872
}

Frent/Frent.csproj

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

33
<PropertyGroup Label="Code">
4-
<TargetFrameworks>net9.0;net8.0;netstandard2.1</TargetFrameworks>
4+
<TargetFrameworks>net10.0;net9.0;net8.0;netstandard2.1</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<LangVersion>Latest</LangVersion>
@@ -15,7 +15,7 @@
1515
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1616
<PackageTags>gamedev;monogame;ecs;entity-component-system;entity-component-framework;.net9;.net8;.net7;.net6;netstandard</PackageTags>
1717
<PackageDescription>A High Performance ECF/ECS</PackageDescription>
18-
<Version>0.7.0-beta</Version>
18+
<Version>0.7.1-beta</Version>
1919
<RepositoryUrl>https://github.com/itsBuggingMe/Frent</RepositoryUrl>
2020
</PropertyGroup>
2121

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Frent is on [Nuget](https://www.nuget.org/packages/Frent/)!
1212

1313
```pwsh
14-
dotnet add package Frent --version 0.7.0-beta
14+
dotnet add package Frent --version 0.7.1-beta
1515
```
1616

1717
## Unity

0 commit comments

Comments
 (0)