Use better exception type

This commit is contained in:
Bartłomiej Dach
2023-02-10 21:25:19 +01:00
parent 199fb0fd85
commit 11296c4ffe

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>