mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Use expression body for property get/set where possible
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user