Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-12-11 15:09:37 +0400
committernulltoken <emeric.fermas@gmail.com>2012-12-11 15:09:37 +0400
commit4c1cd49513ba0c78de54799661cd03661f8a31ad (patch)
tree57775f3cefd72c0a28882f008cd9a96b09ce15b2 /LibGit2Sharp/ConfigurationEntry.cs
parent7c08048cfb150d50acc92fa404db256c29427b6b (diff)
Fix some issues pinpointed by Code Analysis
Diffstat (limited to 'LibGit2Sharp/ConfigurationEntry.cs')
-rw-r--r--LibGit2Sharp/ConfigurationEntry.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/LibGit2Sharp/ConfigurationEntry.cs b/LibGit2Sharp/ConfigurationEntry.cs
index 0a16c5e1..63ab9d2d 100644
--- a/LibGit2Sharp/ConfigurationEntry.cs
+++ b/LibGit2Sharp/ConfigurationEntry.cs
@@ -1,5 +1,6 @@
using System;
using System.Diagnostics;
+using System.Globalization;
namespace LibGit2Sharp
{
@@ -46,7 +47,11 @@ namespace LibGit2Sharp
private string DebuggerDisplay
{
- get { return string.Format("{0} = \"{1}\"", Key, Value); }
+ get
+ {
+ return string.Format(CultureInfo.InvariantCulture,
+ "{0} = \"{1}\"", Key, Value);
+ }
}
}