OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ed75e
)
C#7.0でのビルドエラーを修正
author
Kimura Youichi
<kim.upsilon@bucyou.net>
Sat, 22 Jun 2019 13:51:47 +0000
(22:51 +0900)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Sat, 22 Jun 2019 13:51:47 +0000
(22:51 +0900)
OpenTween/Models/TabModel.cs
patch
|
blob
|
history
diff --git
a/OpenTween/Models/TabModel.cs
b/OpenTween/Models/TabModel.cs
index
e8c485d
..
c5f9fcc
100644
(file)
--- a/
OpenTween/Models/TabModel.cs
+++ b/
OpenTween/Models/TabModel.cs
@@
-180,7
+180,7
@@
namespace OpenTween.Models
=> index >= 0 && index < this.AllCount;
var firstErrorId = indices.FirstOrDefault(x => !IsValidIndex(x));
- if (firstErrorId != default)
+ if (firstErrorId != default
(int)
)
throw new ArgumentOutOfRangeException($"Invalid index: {firstErrorId}", nameof(indices));
var statusIds = indices.Select(x => this.GetStatusIdAt(x)).ToList();