diff options
author | nulltoken <emeric.fermas@gmail.com> | 2014-04-15 12:38:20 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2014-04-16 21:04:57 +0400 |
commit | ac394b41f27fe26a24b6d46a08b630abf02f72ab (patch) | |
tree | 0608304ecadaf4045dd5b7d3cde64dd683c98b3e /LibGit2Sharp/ObjectType.cs | |
parent | 35ea14dd55582ba1dc4a8ad98e77ae656ee307e9 (diff) |
Fix some issues pinpointed by Code Analysis
Diffstat (limited to 'LibGit2Sharp/ObjectType.cs')
-rw-r--r-- | LibGit2Sharp/ObjectType.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LibGit2Sharp/ObjectType.cs b/LibGit2Sharp/ObjectType.cs index 9b4e007d..3e5d415f 100644 --- a/LibGit2Sharp/ObjectType.cs +++ b/LibGit2Sharp/ObjectType.cs @@ -1,4 +1,5 @@ using System; +using System.Globalization; using LibGit2Sharp.Core; namespace LibGit2Sharp @@ -48,7 +49,8 @@ namespace LibGit2Sharp return GitObjectType.Tag; default: - throw new InvalidOperationException(string.Format("Cannot map {0} to a GitObjectType.", type)); + throw new InvalidOperationException( + string.Format(CultureInfo.InvariantCulture, "Cannot map {0} to a GitObjectType.", type)); } } } |