mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 01:27:29 +08:00
Make fields readonly
This commit is contained in:
parent
bb22243903
commit
37003e11b9
@ -65,7 +65,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
AddStep("Set null beatmap", () => section.BeatmapSet = null);
|
AddStep("Set null beatmap", () => section.BeatmapSet = null);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static BeatmapSetInfo beatmap_set = new BeatmapSetInfo
|
private static readonly BeatmapSetInfo beatmap_set = new BeatmapSetInfo
|
||||||
{
|
{
|
||||||
OnlineInfo = new BeatmapSetOnlineInfo
|
OnlineInfo = new BeatmapSetOnlineInfo
|
||||||
{
|
{
|
||||||
@ -76,7 +76,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
private static BeatmapSetInfo no_cover_beatmap_set = new BeatmapSetInfo
|
private static readonly BeatmapSetInfo no_cover_beatmap_set = new BeatmapSetInfo
|
||||||
{
|
{
|
||||||
OnlineInfo = new BeatmapSetOnlineInfo
|
OnlineInfo = new BeatmapSetOnlineInfo
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user