Browse Source

Code analysis warnings

Source commit: 453ba5ffb4d3ae31ee121deb1ff22506143f02a2
Martin Prikryl 9 years ago
parent
commit
0fa5cce2c1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dotnet/internal/ExeSessionProcess.cs

+ 2 - 2
dotnet/internal/ExeSessionProcess.cs

@@ -275,8 +275,8 @@ namespace WinSCP
 
 
                     if (_logger.LogLevel >= 1)
                     if (_logger.LogLevel >= 1)
                     {
                     {
-                        _logger.WriteLine(string.Format("2nd generation collection count: {0}", GC.CollectionCount(2)));
-                        _logger.WriteLine(string.Format("Total memory allocated: {0}", GC.GetTotalMemory(false)));
+                        _logger.WriteLine(string.Format(CultureInfo.InvariantCulture, "2nd generation collection count: {0}", GC.CollectionCount(2)));
+                        _logger.WriteLine(string.Format(CultureInfo.InvariantCulture, "Total memory allocated: {0}", GC.GetTotalMemory(false)));
                     }
                     }
                 }
                 }
             }
             }