aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src/Google.Protobuf/Collections
diff options
context:
space:
mode:
authorGravatar Jon Skeet <jonskeet@google.com>2015-08-10 09:03:43 +0100
committerGravatar Jon Skeet <jonskeet@google.com>2015-08-10 09:03:43 +0100
commit4deea8c231254503e9b1a41db07ff2b7ae3965fd (patch)
treea8c739e4478efb9dee4d1ef4e92e869bcecc3f26 /csharp/src/Google.Protobuf/Collections
parent5be01ee65b987ef17e6418fbff5f161ed0f5cc87 (diff)
Fix parameter name in exception.
Diffstat (limited to 'csharp/src/Google.Protobuf/Collections')
-rw-r--r--csharp/src/Google.Protobuf/Collections/MapField.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf/Collections/MapField.cs b/csharp/src/Google.Protobuf/Collections/MapField.cs
index 004ff54b..0fa63bef 100644
--- a/csharp/src/Google.Protobuf/Collections/MapField.cs
+++ b/csharp/src/Google.Protobuf/Collections/MapField.cs
@@ -737,7 +737,7 @@ namespace Google.Protobuf.Collections
{
if (index < 0)
{
- throw new ArgumentOutOfRangeException("arrayIndex");
+ throw new ArgumentOutOfRangeException("index");
}
if (index + Count >= array.Length)
{