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:
parent
e62049f4a9
commit
08f1280aa8
@ -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")]
|
||||||
|
@ -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")]
|
||||||
|
Loading…
Reference in New Issue
Block a user