diff --git a/src/core/Akka.Remote.TestKit/CommandLine.cs b/src/core/Akka.Remote.TestKit/CommandLine.cs index b91915a2dff..cdf91dc3ba6 100644 --- a/src/core/Akka.Remote.TestKit/CommandLine.cs +++ b/src/core/Akka.Remote.TestKit/CommandLine.cs @@ -42,7 +42,7 @@ public static void Initialize(string[] args) var fixedArgs = new List(); for (var i = 1; i < args.Length - 1; ++i) { - if (args[i].Equals("-Dmultinode") && args[i + 1].StartsWith('.')) + if (args[i].Equals("-Dmultinode") && args[i + 1].StartsWith(".")) { fixedArgs.Add(args[i] + args[i+1]); ++i; diff --git a/src/core/Akka/ActorState.cs b/src/core/Akka/ActorState.cs index 370d022bbf6..53a6d1bec51 100644 --- a/src/core/Akka/ActorState.cs +++ b/src/core/Akka/ActorState.cs @@ -641,3 +641,4 @@ public Receive GetCurrentBehavior() } } } +