dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #8773] Delegate.DynamicInvoke doesn't work with


From: Thong Nguyen
Subject: [Pnet-developers] [bugs #8773] Delegate.DynamicInvoke doesn't work with ref/out parameters
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; .NET CLR 1.1.4322)

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8773] Latest Modifications:

Changes by: 
                Thong Nguyen <address@hidden>
'Date: 
                Tue 05/18/04 at 02:41 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
fixed in cvs






/**************************************************************************/
[bugs #8773] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8773>
Project: DotGNU Portable.NET
Submitted by: Thong Nguyen
On: Mon 05/03/04 at 03:02

Category:  None
Severity:  1 - None
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Closed


Summary:  Delegate.DynamicInvoke doesn't work with ref/out parameters

Original Submission:  The following program outputs "10" on MS.NET but throws 
an ArgumentException on pnet.

using System;

public class Test
{
        delegate void D(ref int x);

        public static void Foo(ref int x)
        {
                x = 10;
        }

        public static void Main()
        {
                D d = new D(Foo);
                Object[] arr = new Object[1];

                d.DynamicInvoke(arr);

                Console.WriteLine(arr[0]);
        }
}

Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 05/18/04 at 02:41         By: tum
fixed in cvs












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8773>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]