1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Use better exception type

This commit is contained in:
Bartłomiej Dach 2023-02-10 21:25:19 +01:00
parent 199fb0fd85
commit 11296c4ffe
No known key found for this signature in database

View File

@ -23,7 +23,7 @@ namespace osu.Game.Users.Drawables
return ShowUsernameTooltip ? (user?.Username ?? string.Empty) : default_tooltip_text;
}
set => throw new InvalidOperationException();
set => throw new NotSupportedException();
}
/// <summary>