mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
CA2208: create exceptions correctly.
This commit is contained in:
@ -119,7 +119,7 @@ namespace osu.Game.Graphics
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException(nameof(screenshotFormat));
|
||||
throw new InvalidOperationException($"Unknown enum member {nameof(ScreenshotFormat)} {screenshotFormat.Value}.");
|
||||
}
|
||||
|
||||
notificationOverlay.Post(new SimpleNotification
|
||||
|
Reference in New Issue
Block a user