dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bugs #11454] BOGUS: incompatible types in event addit


From: James Michael DuPont
Subject: [Pnet-developers] [bugs #11454] BOGUS: incompatible types in event addition
Date: Thu, 30 Dec 2004 11:27:51 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 (Debian package 1.0-2)

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

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

Changes by: 
                James Michael DuPont <address@hidden>
'Date: 
                Thu 12/30/2004 at 11:27 (Europe/Berlin)

------------------ Additional Follow-up Comments ----------------------------
//This is not a bug.
//was my fault, here is the good code.
public class  TEST {
        public TEST()
        {}
        public delegate void foo ();
        public virtual event  foo boo;
}
class test
{
        void foo2()
        {}
        void foo3()
        {
            TEST foo;
            foo.boo += new TEST.foo(foo2);
        }
}






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

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11454>
Project: DotGNU Portable.NET
Submitted by: James Michael DuPont
On: Thu 12/30/2004 at 11:22

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  BOGUS: incompatible types in event addition

Original Submission:  //I dont know if this is a bug, please advise.
//testcase1.cs:13: incompatible types in event addition: 'void' to 'TEST.foo'
public class  TEST {
        public delegate void foo ();
        public virtual event  foo boo;
}
class test
{
        void foo2()
        {}
        void foo()
        {
            TEST foo;
            foo.boo += foo2; // BUG incompatible types in event addition: 
'void' to 'TEST.foo'
        }
}

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


-------------------------------------------------------
Date: Thu 12/30/2004 at 11:27       By: James Michael DuPont <mdupont>
//This is not a bug.
//was my fault, here is the good code.
public class  TEST {
        public TEST()
        {}
        public delegate void foo ();
        public virtual event  foo boo;
}
class test
{
        void foo2()
        {}
        void foo3()
        {
            TEST foo;
            foo.boo += new TEST.foo(foo2);
        }
}












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

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





reply via email to

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