[Mono-bugs] [Bug 70173][Wis] New - Delegates mono ./ execution.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 3 Dec 2004 02:13:41 -0500 (EST)
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 lists@munshi.biz.
http://bugzilla.ximian.com/show_bug.cgi?id=70173
--- shadow/70173 2004-12-03 02:13:41.000000000 -0500
+++ shadow/70173.tmp.7492 2004-12-03 02:13:41.000000000 -0500
@@ -0,0 +1,59 @@
+Bug#: 70173
+Product: Mono: Runtime
+Version: 1.0
+OS:
+OS Details: NLD9, SLP9.1, SLP 9.2
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: JIT
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: lists@munshi.biz
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Delegates mono ./ execution.
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+There is a difference in the way you execute the following code.
+Following code works well when "./delegate.exe" is used, but when "mono
+delegate.exe is used the output is
+
+ToString of amish is : 134542488
+
+using System;
+namespace Munshi.Amish.DBTest
+{
+ public class delGT
+ {
+ delegate string amish();
+ public static void Main()
+ {
+ int x = 10;
+ amish a = new amish(x.ToString);
+ Console.WriteLine("ToString of amish is : " + a());
+ }
+ }
+}
+
+
+Steps to reproduce the problem:
+1. Compile the above program.
+2. run it as "./Exename.exe" and also as "mono Exename.exe"
+
+
+Actual Results:
+ToString of amish is : 134542488
+
+Expected Results:
+ToString of amish is : 10
+
+
+How often does this happen?
+Always.
+
+Additional Information: