mirror of
https://github.com/ppy/osu.git
synced 2026-05-31 06:29:54 +08:00
Add UsedImplicitly specification to silence unused member inspection
Also applied to `Language` while at it.
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.ComponentModel;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace osu.Game.Localisation
|
||||
{
|
||||
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
|
||||
public enum Language
|
||||
{
|
||||
[Description(@"English")]
|
||||
|
||||
@@ -9,6 +9,7 @@ using Newtonsoft.Json.Converters;
|
||||
namespace osu.Game.Users
|
||||
{
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
|
||||
public enum Country
|
||||
{
|
||||
[Description("Alien")]
|
||||
|
||||
Reference in New Issue
Block a user