OSDN Git Service

ArgumentOutOfRangeExceptionの引数順の誤りを修正 (CA2208)
authorKimura Youichi <kim.upsilon@bucyou.net>
Wed, 8 Mar 2017 15:33:12 +0000 (00:33 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Wed, 8 Mar 2017 15:33:12 +0000 (00:33 +0900)
OpenTween/Models/TabModel.cs

index 026cf17..9f4c94d 100644 (file)
@@ -324,7 +324,7 @@ namespace OpenTween.Models
             {
                 PostClass post;
                 if (!this.Posts.TryGetValue(this.GetStatusIdAt(index), out post))
-                    throw new ArgumentOutOfRangeException("Post not exists", nameof(index));
+                    throw new ArgumentOutOfRangeException(nameof(index), "Post not exists");
 
                 return post;
             }