File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/libraries/System.Runtime/ref Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -2436,7 +2436,7 @@ protected Enum() { }
2436
2436
public override int GetHashCode() { throw null; }
2437
2437
public static string? GetName(System.Type enumType, object value) { throw null; }
2438
2438
public static string[] GetNames(System.Type enumType) { throw null; }
2439
- public static string[] GetNames<TEnum>() where TEnum : struct { throw null; }
2439
+ public static string[] GetNames<TEnum>() where TEnum : struct, System.Enum { throw null; }
2440
2440
public static string? GetName<TEnum>(TEnum value) where TEnum : struct, System.Enum { throw null; }
2441
2441
public System.TypeCode GetTypeCode() { throw null; }
2442
2442
public static System.Type GetUnderlyingType(System.Type enumType) { throw null; }
You can’t perform that action at this time.
0 commit comments