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() { }
24362436 public override int GetHashCode() { throw null; }
24372437 public static string? GetName(System.Type enumType, object value) { throw null; }
24382438 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; }
24402440 public static string? GetName<TEnum>(TEnum value) where TEnum : struct, System.Enum { throw null; }
24412441 public System.TypeCode GetTypeCode() { throw null; }
24422442 public static System.Type GetUnderlyingType(System.Type enumType) { throw null; }
You can’t perform that action at this time.
0 commit comments