diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props
index ebdec959..c777422a 100644
--- a/src/Directory.Packages.props
+++ b/src/Directory.Packages.props
@@ -3,18 +3,15 @@
true
-
-
-
+
+
+
-
-
+
+
-
-
-
diff --git a/src/YesSql.Filters.Abstractions/Services/FilterResult.cs b/src/YesSql.Filters.Abstractions/Services/FilterResult.cs
index 27c458a5..81441276 100644
--- a/src/YesSql.Filters.Abstractions/Services/FilterResult.cs
+++ b/src/YesSql.Filters.Abstractions/Services/FilterResult.cs
@@ -16,7 +16,7 @@ public FilterResult(IReadOnlyDictionary termOptions)
TermOptions = termOptions;
}
- public FilterResult(List terms, IReadOnlyDictionary termOptions)
+ public FilterResult(IReadOnlyList terms, IReadOnlyDictionary termOptions)
{
TermOptions = termOptions;
diff --git a/src/YesSql.Filters.Query/QueryEngineBuilder.cs b/src/YesSql.Filters.Query/QueryEngineBuilder.cs
index 96aee8c1..329bc0da 100644
--- a/src/YesSql.Filters.Query/QueryEngineBuilder.cs
+++ b/src/YesSql.Filters.Query/QueryEngineBuilder.cs
@@ -11,7 +11,7 @@ namespace YesSql.Filters.Query
///
public class QueryEngineBuilder where T : class
{
- private Dictionary>> _termBuilders = new Dictionary>>();
+ private readonly Dictionary>> _termBuilders = [];
public QueryEngineBuilder SetTermParser(TermEngineBuilder> builder)
{
diff --git a/src/YesSql.Filters.Query/QueryFilterResult.cs b/src/YesSql.Filters.Query/QueryFilterResult.cs
index 9163525c..9d619eaf 100644
--- a/src/YesSql.Filters.Query/QueryFilterResult.cs
+++ b/src/YesSql.Filters.Query/QueryFilterResult.cs
@@ -12,7 +12,7 @@ public class QueryFilterResult : FilterResult> where T
public QueryFilterResult(IReadOnlyDictionary> termOptions) : base(termOptions)
{ }
- public QueryFilterResult(List terms, IReadOnlyDictionary> termOptions) : base(terms, termOptions)
+ public QueryFilterResult(IReadOnlyList terms, IReadOnlyDictionary> termOptions) : base(terms, termOptions)
{ }
public void MapFrom(TModel model)
@@ -53,7 +53,7 @@ public async ValueTask> ExecuteAsync(QueryExecutionContext context)
await VisitTerm(TermOptions, context, visitor, alwaysRunNode);
}
}
-
+
return context.Item;
}
diff --git a/src/YesSql.Provider.SqlServer/YesSql.Provider.SqlServer.csproj b/src/YesSql.Provider.SqlServer/YesSql.Provider.SqlServer.csproj
index 87b0f869..dfc0d1cd 100644
--- a/src/YesSql.Provider.SqlServer/YesSql.Provider.SqlServer.csproj
+++ b/src/YesSql.Provider.SqlServer/YesSql.Provider.SqlServer.csproj
@@ -6,9 +6,6 @@
-
-
-
diff --git a/test/YesSql.Tests/ProviderTests.cs b/test/YesSql.Tests/ProviderTests.cs
index 876a4f97..6337d118 100644
--- a/test/YesSql.Tests/ProviderTests.cs
+++ b/test/YesSql.Tests/ProviderTests.cs
@@ -25,7 +25,7 @@ public void Dispose()
}
[Fact]
- public async void AddedDbProviderStoreShouldPresentInDIContainer()
+ public async Task AddedDbProviderStoreShouldPresentInDIContainer()
{
var connectionString = @"Data Source=" + _tempFolder.Folder + "yessql.db;Cache=Shared";
diff --git a/test/YesSql.Tests/YesSql.Tests.csproj b/test/YesSql.Tests/YesSql.Tests.csproj
index 1747ed1c..99107fcb 100644
--- a/test/YesSql.Tests/YesSql.Tests.csproj
+++ b/test/YesSql.Tests/YesSql.Tests.csproj
@@ -28,18 +28,18 @@
- 7.0.13
+ 7.0.20
- 6.0.24
+ 7.0.20
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers