[Mono-bugs] [Bug 33773][Nor] New - Problem with Array.Equals
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
12 Nov 2002 19:19:31 -0000
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 carlosga@telefonica.net.
http://bugzilla.ximian.com/show_bug.cgi?id=33773
--- shadow/33773 Tue Nov 12 14:19:31 2002
+++ shadow/33773.tmp.12054 Tue Nov 12 14:19:31 2002
@@ -0,0 +1,56 @@
+Bug#: 33773
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: carlosga@telefonica.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Problem with Array.Equals
+
+Hello:
+
+
+The error gives using Array.Equals for make a comparision between two byte
+arrays.
+
+
+Test case:
+
+mcs error:
+
+
+You can run mcs with 'monomcs' on .NET, instead of mono, too.
+
+test.cs(14) error CS-0006: Could not find any applicable function for this
+argument list
+Compilation failed: 1 error(s), 0 warnings
+
+
+using System;
+using System.Data;
+using System.Collections;
+
+namespace FirebirdSql.Data.Firebird
+{
+ public sealed class MonoTestCase
+ {
+ public void EqualsTest()
+ {
+ byte[] array01 = new byte[10];
+ byte[] array02 = new byte[10];
+
+ // This builds well with csc but not with mcs
+ if(!Array.Equals(array01, array02))
+ Console.WriteLine("Equals!!!");
+ }
+ }
+}