[Mono-bugs] [Bug 76774][Nor] New - System.Array missing static generic sort method

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Nov 20 17:52:21 EST 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by hodd at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76774

--- shadow/76774	2005-11-20 17:52:21.000000000 -0500
+++ shadow/76774.tmp.15438	2005-11-20 17:52:21.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 76774
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: hodd at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Array missing static generic sort method
+
+Description of Problem:
+System.Array (in v2) should have a static generic sort method.
+It is not (yet) present in mono as of 1.1.10
+
+Steps to reproduce the problem:
+Compile with gmcs:
+class App
+{
+	static void Main()
+	{
+		string [] a = { "beta", "gamma", "alpha" };
+		System.Array.Sort<string>(a);
+		System.Console.WriteLine(string.Join(",", a));
+	}
+}
+ 
+
+Actual Results:
+Does not compile.
+
+Expected Results:
+Working program that outputs "alpha,beta,gamma"


More information about the mono-bugs mailing list