[Mono-bugs] [Bug 43768][Wis] New - Cannot convert from 'ref byte[]' to 'byte'
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Tue, 27 May 2003 18:06:41 -0400 (EDT)
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 dolemite@wuli.nu.
http://bugzilla.ximian.com/show_bug.cgi?id=43768
--- shadow/43768 Tue May 27 18:06:40 2003
+++ shadow/43768.tmp.24339 Tue May 27 18:06:40 2003
@@ -0,0 +1,29 @@
+Bug#: 43768
+Product: Mono/MCS
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: gentoo i386
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: dolemite@wuli.nu
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Cannot convert from 'ref byte[]' to 'byte'
+
+So i have a function: public static IPEndPoint foo(ref byte[] bar)
+in baz.dll.
+When I try to
+mcs /optimize /t:module /out:sofo.dll /r:baz.dll sofo.cs
+I get
+ The best overloaded match for method 'System.Net.IPEndPoint foo(byte)' has
+some invalid arguments
+sofo.cs(117) error CS1503: Argument 0: Cannot convert from 'ref byte[]' to
+'byte'
+sofo.cs(117) error CS-0006: Could not find any applicable function for this
+argument list