aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Extensions/EnumExtensions.cs
blob: 560af882965c5557e2473f9d513b24adc9eb95f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
using System;

namespace Ryujinx.Common
{
    public static class EnumExtensions
    {
        public static T[] GetValues<T>()
        {
            return (T[])Enum.GetValues(typeof(T));
        }
    }
}