Merge branch 'master' into more-inspections

This commit is contained in:
Dean Herbert
2019-02-28 14:32:57 +09:00
committed by GitHub
130 changed files with 290 additions and 317 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapSetInfo BeatmapSet
{
get { return beatmapSet; }
get => beatmapSet;
set
{
if (value == beatmapSet) return;

View File

@ -21,7 +21,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapSetInfo BeatmapSet
{
get { return beatmapSet; }
get => beatmapSet;
set
{
if (value == beatmapSet) return;
@ -36,7 +36,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapInfo Beatmap
{
get { return beatmap; }
get => beatmap;
set
{
if (value == beatmap) return;
@ -97,8 +97,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)

View File

@ -36,7 +36,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapSetInfo BeatmapSet
{
get { return beatmapSet; }
get => beatmapSet;
set
{
if (value == beatmapSet) return;
@ -199,7 +199,7 @@ namespace osu.Game.Overlays.BeatmapSet
public DifficultySelectorState State
{
get { return state; }
get => state;
set
{
if (value == state) return;
@ -284,7 +284,7 @@ namespace osu.Game.Overlays.BeatmapSet
public int Value
{
get { return value; }
get => value;
set
{
this.value = value;

View File

@ -30,8 +30,8 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
public BeatmapSetInfo BeatmapSet
{
get { return playButton.BeatmapSet; }
set { playButton.BeatmapSet = value; }
get => playButton.BeatmapSet;
set => playButton.BeatmapSet = value;
}
public PreviewButton()

View File

@ -25,7 +25,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapSetInfo BeatmapSet
{
get { return beatmapSet; }
get => beatmapSet;
set
{
if (value == beatmapSet) return;
@ -40,7 +40,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapInfo Beatmap
{
get { return beatmap; }
get => beatmap;
set
{
if (value == beatmap) return;

View File

@ -29,7 +29,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapSetInfo BeatmapSet
{
get { return beatmapSet; }
get => beatmapSet;
set
{
if (value == beatmapSet) return;
@ -48,8 +48,8 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapInfo Beatmap
{
get { return successRate.Beatmap; }
set { successRate.Beatmap = value; }
get => successRate.Beatmap;
set => successRate.Beatmap = value;
}
public Info()
@ -164,8 +164,8 @@ namespace osu.Game.Overlays.BeatmapSet
public Color4 TextColour
{
get { return textFlow.Colour; }
set { textFlow.Colour = value; }
get => textFlow.Colour;
set => textFlow.Colour = value;
}
public MetadataSection(string title)

View File

@ -20,7 +20,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
public User User
{
get { return user; }
get => user;
set
{
if (user == value) return;

View File

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

View File

@ -34,7 +34,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
public IEnumerable<APIScoreInfo> Scores
{
get { return scores; }
get => scores;
set
{
getScoresRequest?.Cancel();

View File

@ -24,7 +24,7 @@ namespace osu.Game.Overlays.BeatmapSet
public BeatmapInfo Beatmap
{
get { return beatmap; }
get => beatmap;
set
{
if (value == beatmap) return;