Remove dead code from bug-10127.cs. (#31976)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 20 Mar 2020 12:08:15 +0000 (08:08 -0400)
committerGitHub <noreply@github.com>
Fri, 20 Mar 2020 12:08:15 +0000 (13:08 +0100)
Co-authored-by: jaykrell <jaykrell@users.noreply.github.com>
src/mono/mono/tests/bug-10127.cs

index 32ca630..bd24498 100644 (file)
@@ -72,17 +72,6 @@ namespace WeakReferenceTest
 
        }
 
-       static class RandHelper {
-               public static string RandString(this Random rand, int len)
-               {
-                       char[] table = new char[len];
-                       for (int idx = 0; idx < len; idx++) {
-                               table[idx] = (char) ('a' + idx);
-                       }
-                       return new string(table, 0, len);
-               }
-       }
-
        class MainClass
        {
                public static void Main (string[] args)