diff --git a/Directory.Packages.props b/Directory.Packages.props
index efb48fcc4..f0f5f5b79 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -7,7 +7,6 @@
-
@@ -43,6 +42,7 @@
+
diff --git a/test/Dapr.AI.Test/Dapr.AI.Test.csproj b/test/Dapr.AI.Test/Dapr.AI.Test.csproj
index f937f64e2..b4a07c1fb 100644
--- a/test/Dapr.AI.Test/Dapr.AI.Test.csproj
+++ b/test/Dapr.AI.Test/Dapr.AI.Test.csproj
@@ -7,7 +7,6 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
diff --git a/test/Dapr.Actors.AspNetCore.IntegrationTest/Dapr.Actors.AspNetCore.IntegrationTest.csproj b/test/Dapr.Actors.AspNetCore.IntegrationTest/Dapr.Actors.AspNetCore.IntegrationTest.csproj
index 921e2dda4..394cc9def 100644
--- a/test/Dapr.Actors.AspNetCore.IntegrationTest/Dapr.Actors.AspNetCore.IntegrationTest.csproj
+++ b/test/Dapr.Actors.AspNetCore.IntegrationTest/Dapr.Actors.AspNetCore.IntegrationTest.csproj
@@ -4,7 +4,6 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
diff --git a/test/Dapr.Actors.AspNetCore.Test/Dapr.Actors.AspNetCore.Test.csproj b/test/Dapr.Actors.AspNetCore.Test/Dapr.Actors.AspNetCore.Test.csproj
index c448e915c..9f9e43119 100644
--- a/test/Dapr.Actors.AspNetCore.Test/Dapr.Actors.AspNetCore.Test.csproj
+++ b/test/Dapr.Actors.AspNetCore.Test/Dapr.Actors.AspNetCore.Test.csproj
@@ -9,7 +9,6 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
diff --git a/test/Dapr.Actors.Test/ActorCodeBuilderTests.cs b/test/Dapr.Actors.Test/ActorCodeBuilderTests.cs
index 2f2bb67db..b82c56fc5 100644
--- a/test/Dapr.Actors.Test/ActorCodeBuilderTests.cs
+++ b/test/Dapr.Actors.Test/ActorCodeBuilderTests.cs
@@ -11,44 +11,43 @@
// limitations under the License.
// ------------------------------------------------------------------------
-namespace Dapr.Actors.Test
-{
- using System.Threading.Tasks;
- using Dapr.Actors.Builder;
- using Dapr.Actors.Communication;
- using Dapr.Actors.Description;
- using Dapr.Actors.Runtime;
- using Xunit;
+namespace Dapr.Actors.Test;
+
+using System.Threading.Tasks;
+using Dapr.Actors.Builder;
+using Dapr.Actors.Communication;
+using Dapr.Actors.Description;
+using Dapr.Actors.Runtime;
+using Xunit;
+///
+/// Test class for Actor Code builder.
+///
+public class ActorCodeBuilderTests
+{
///
- /// Test class for Actor Code builder.
+ /// Tests Proxy Generation.
///
- public class ActorCodeBuilderTests
+ [Fact]
+ public void TestBuildActorProxyGenerator()
{
- ///
- /// Tests Proxy Generation.
- ///
- [Fact]
- public void TestBuildActorProxyGenerator()
- {
- ActorCodeBuilder.GetOrCreateProxyGenerator(typeof(ITestActor));
- }
+ ActorCodeBuilder.GetOrCreateProxyGenerator(typeof(ITestActor));
+ }
- [Fact]
- public async Task ActorCodeBuilder_BuildDispatcher()
- {
- var host = ActorHost.CreateForTest();
+ [Fact]
+ public async Task ActorCodeBuilder_BuildDispatcher()
+ {
+ var host = ActorHost.CreateForTest();
- var dispatcher = ActorCodeBuilder.GetOrCreateMethodDispatcher(typeof(ITestActor));
- var methodId = MethodDescription.Create("test", typeof(ITestActor).GetMethod("GetCountAsync"), true).Id;
+ var dispatcher = ActorCodeBuilder.GetOrCreateMethodDispatcher(typeof(ITestActor));
+ var methodId = MethodDescription.Create("test", typeof(ITestActor).GetMethod("GetCountAsync"), true).Id;
- var impl = new TestActor(host);
- var request = new ActorRequestMessageBody(0);
- var response = new WrappedRequestMessageFactory();
+ var impl = new TestActor(host);
+ var request = new ActorRequestMessageBody(0);
+ var response = new WrappedRequestMessageFactory();
- var body = (WrappedMessage)await dispatcher.DispatchAsync(impl, methodId, request, response, default);
- dynamic bodyValue = body.Value;
- Assert.Equal(5, (int)bodyValue.retVal);
- }
+ var body = (WrappedMessage)await dispatcher.DispatchAsync(impl, methodId, request, response, default);
+ dynamic bodyValue = body.Value;
+ Assert.Equal(5, (int)bodyValue.retVal);
}
}
diff --git a/test/Dapr.Actors.Test/ActorIdTests.cs b/test/Dapr.Actors.Test/ActorIdTests.cs
index c54f4c351..dc1f87942 100644
--- a/test/Dapr.Actors.Test/ActorIdTests.cs
+++ b/test/Dapr.Actors.Test/ActorIdTests.cs
@@ -11,194 +11,193 @@
// limitations under the License.
// ------------------------------------------------------------------------
-namespace Dapr.Actors.Test
-{
- using System;
- using System.Collections.Generic;
- using Xunit;
+namespace Dapr.Actors.Test;
- ///
- /// Contains tests for Actor ID.
- ///
- public class ActorIdTests
+using System;
+using System.Collections.Generic;
+using Xunit;
+
+///
+/// Contains tests for Actor ID.
+///
+public class ActorIdTests
+{
+ public static readonly IEnumerable