diff --git a/Core/TagHierarchyManager.csproj b/Core/TagHierarchyManager.csproj index 8996977..9127e84 100644 --- a/Core/TagHierarchyManager.csproj +++ b/Core/TagHierarchyManager.csproj @@ -2,7 +2,7 @@ Library - net9.0 + net10.0 enable enable false diff --git a/Tests/TagDatabaseSaveTests.cs b/Tests/TagDatabaseSaveTests.cs index 5d97a04..cdd0126 100644 --- a/Tests/TagDatabaseSaveTests.cs +++ b/Tests/TagDatabaseSaveTests.cs @@ -176,7 +176,7 @@ public class TagDatabaseWriteTests : TestBase Assert.That(savedTag.Parents, Is.EquivalentTo(inputTag.Parents)); Assert.That(savedTag.ParentIds.Count, Is.EqualTo(inputTag.Parents.Count)); List parentTags = await savedTag.ParentIds.ToAsyncEnumerable() - .SelectAwait(async parentId => + .Select(async (int parentId, CancellationToken _) => { Tag? tag = await this.Database.SelectTagFromDatabase(parentId); return tag!.Name; diff --git a/Tests/TagHierarchyManager.Tests.csproj b/Tests/TagHierarchyManager.Tests.csproj index d06b3ae..4514185 100644 --- a/Tests/TagHierarchyManager.Tests.csproj +++ b/Tests/TagHierarchyManager.Tests.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable false @@ -9,12 +9,12 @@ - + - + - - + +