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

@ -46,7 +46,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
private APIScoreInfo score;
public APIScoreInfo Score
{
get { return score; }
get => score;
set
{
if (score == value) return;
@ -209,7 +209,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
return;
valueText.Text = value;
}
get { return valueText.Text; }
get => valueText.Text;
}
public InfoColumn(string header)