Use expression body for property get/set where possible

This commit is contained in:
Dean Herbert
2019-02-28 13:58:19 +09:00
parent 94a389319d
commit 42be7857d1
130 changed files with 297 additions and 403 deletions

View File

@ -21,7 +21,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapSetInfo BeatmapSet
{
get { return beatmapSet; }
get => beatmapSet;
set
{
if (value == beatmapSet) return;
@ -35,7 +35,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapInfo Beatmap
{
get { return beatmap; }
get => beatmap;
set
{
if (value == beatmap) return;
@ -95,8 +95,8 @@ namespace osu.Game.Overlays.BeatmapSet
public string Value
{
get { return value.Text; }
set { this.value.Text = value; }
get => value.Text;
set => this.value.Text = value;
}
public Statistic(FontAwesome icon, string name)