فهرست منبع

Fix parameter name in exception.

Jon Skeet 10 سال پیش
والد
کامیت
4deea8c231
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      csharp/src/Google.Protobuf/Collections/MapField.cs

+ 1 - 1
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)
                 {