From 3c7c3d1cb96021e50eb2b3f66819edaff8eedb9c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 1 Feb 2017 19:11:58 -0500 Subject: [PATCH] Tidy up GetEnumerable --- osu.Game/Screens/Select/CarouselContainer.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/osu.Game/Screens/Select/CarouselContainer.cs b/osu.Game/Screens/Select/CarouselContainer.cs index 6d43b538a1..101774b4fc 100644 --- a/osu.Game/Screens/Select/CarouselContainer.cs +++ b/osu.Game/Screens/Select/CarouselContainer.cs @@ -311,14 +311,8 @@ namespace osu.Game.Screens.Select SelectGroup(group, panel); } - public IEnumerator GetEnumerator() - { - return groups.GetEnumerator(); - } + public IEnumerator GetEnumerator() => groups.GetEnumerator(); - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } + IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); } }