summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Requires.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-02-09 08:29:36 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-02-09 08:29:36 -0800
commitcd00f47e375106db6b04a32dff669e5b87c5affb (patch)
treeca2d8625561f2084250c3cebf6eae3813f71c8b2 /src/DotNetOpenAuth.Core/Requires.cs
parentb6a394fdde0b5ba09d3836ea80dd201f79e90a3a (diff)
downloadDotNetOpenAuth-cd00f47e375106db6b04a32dff669e5b87c5affb.zip
DotNetOpenAuth-cd00f47e375106db6b04a32dff669e5b87c5affb.tar.gz
DotNetOpenAuth-cd00f47e375106db6b04a32dff669e5b87c5affb.tar.bz2
Fixed FxCop messages in DNOA.Core #68
Diffstat (limited to 'src/DotNetOpenAuth.Core/Requires.cs')
-rw-r--r--src/DotNetOpenAuth.Core/Requires.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Core/Requires.cs b/src/DotNetOpenAuth.Core/Requires.cs
index dbcf5ff..8aa15dd 100644
--- a/src/DotNetOpenAuth.Core/Requires.cs
+++ b/src/DotNetOpenAuth.Core/Requires.cs
@@ -134,7 +134,7 @@ namespace DotNetOpenAuth {
[Pure, DebuggerStepThrough]
internal static void True(bool condition, string parameterName, string unformattedMessage, params object[] args) {
if (!condition) {
- throw new ArgumentException(String.Format(unformattedMessage, args), parameterName);
+ throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, unformattedMessage, args), parameterName);
}
Contract.EndContractBlock();