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>2011-05-03 20:30:05 +0400
committernulltoken <emeric.fermas@gmail.com>2011-05-04 00:03:07 +0400
commit73a3fc1b493ff2266391b92aba1a9cdab9c96398 (patch)
tree11a0ac46837f9674fb4d02907bd6b8d9aad29365 /LibGit2Sharp/ObjectId.cs
parent51bc57b085e37e4311c386b75c424182c502a4a4 (diff)
Fix some issues pinpointed by Code Analysis
Diffstat (limited to 'LibGit2Sharp/ObjectId.cs')
-rw-r--r--LibGit2Sharp/ObjectId.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/LibGit2Sharp/ObjectId.cs b/LibGit2Sharp/ObjectId.cs
index 80f2a924..d576a769 100644
--- a/LibGit2Sharp/ObjectId.cs
+++ b/LibGit2Sharp/ObjectId.cs
@@ -1,4 +1,5 @@
using System;
+using System.Globalization;
using System.Text;
using LibGit2Sharp.Core;
@@ -90,7 +91,7 @@ namespace LibGit2Sharp
return null;
}
- throw new ArgumentException(string.Format("'{0}' is not a valid sha. Expected length should equal {1}.", sha, hexSize));
+ throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "'{0}' is not a valid sha. Expected length should equal {1}.", sha, hexSize));
}
GitOid oid;