mirror of https://github.com/ppy/osu
Add `UsedImplicitly` specification to silence unused member inspection
Also applied to `Language` while at it.
This commit is contained in:
parent
e62049f4a9
commit
08f1280aa8
|
@ -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 @@
|
|||
namespace osu.Game.Users
|
||||
{
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
|
||||
public enum Country
|
||||
{
|
||||
[Description("Alien")]
|
||||
|
|
Loading…
Reference in New Issue