mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
CA2208: create exceptions correctly.
This commit is contained in:
@ -63,7 +63,7 @@ namespace osu.Game.Users
|
||||
private void load(UserProfileOverlay profile)
|
||||
{
|
||||
if (colours == null)
|
||||
throw new ArgumentNullException(nameof(colours));
|
||||
throw new InvalidOperationException($"{nameof(colours)} not initialized!");
|
||||
|
||||
FillFlowContainer infoContainer;
|
||||
|
||||
|
Reference in New Issue
Block a user