1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:03:08 +08:00

Add UsedImplicitly specification to silence unused member inspection

Also applied to `Language` while at it.
This commit is contained in:
Salman Ahmed 2022-07-16 04:42:33 +03:00
parent e62049f4a9
commit 08f1280aa8
2 changed files with 3 additions and 0 deletions

View File

@ -2,9 +2,11 @@
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System.ComponentModel; using System.ComponentModel;
using JetBrains.Annotations;
namespace osu.Game.Localisation namespace osu.Game.Localisation
{ {
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
public enum Language public enum Language
{ {
[Description(@"English")] [Description(@"English")]

View File

@ -9,6 +9,7 @@ using Newtonsoft.Json.Converters;
namespace osu.Game.Users namespace osu.Game.Users
{ {
[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(StringEnumConverter))]
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
public enum Country public enum Country
{ {
[Description("Alien")] [Description("Alien")]