mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
CA2201: throw correct exception type.
This commit is contained in:
@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Difficulty.Utils
|
||||
get
|
||||
{
|
||||
if (i < 0 || i > Count - 1)
|
||||
throw new IndexOutOfRangeException();
|
||||
throw new ArgumentOutOfRangeException(nameof(i));
|
||||
|
||||
i += marker;
|
||||
if (i > capacity - 1)
|
||||
|
Reference in New Issue
Block a user