Commit 4deea8c2 authored by Jon Skeet's avatar Jon Skeet

Fix parameter name in exception.

parent 5be01ee6
......@@ -737,7 +737,7 @@ namespace Google.Protobuf.Collections
{
if (index < 0)
{
throw new ArgumentOutOfRangeException("arrayIndex");
throw new ArgumentOutOfRangeException("index");
}
if (index + Count >= array.Length)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment