Fix parameter name in exception.
This commit is contained in:
parent
5be01ee65b
commit
4deea8c231
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ namespace Google.Protobuf.Collections
|
|||
{
|
||||
if (index < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException("arrayIndex");
|
||||
throw new ArgumentOutOfRangeException("index");
|
||||
}
|
||||
if (index + Count >= array.Length)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue