dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bug #6201] System.Windows.Forms.Timer.Enable throws A


From: nobody
Subject: [Pnet-developers] [bug #6201] System.Windows.Forms.Timer.Enable throws ArgumentOutOfRangeException
Date: Mon, 27 Oct 2003 12:55:41 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031015 Firebird/0.7 (aebrahim)

=================== BUG #6201: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6201&group_id=353

Submitted by: Krai                    Project: DotGNU Portable.NET          
Submitted on: Mon 10/27/2003 at 17:55
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  System.Windows.Forms.Timer.Enable throws ArgumentOutOfRangeException

Original Submission:  The code for S.W.F.Timer, Method Enable() is in-place, 
but throws an Uncaught Exception (ArgumentOutOfRangeException) in the set{} 
block.

Reading from this property is unaffected.


See attached .cs file.

Expected Output:
System.Windows.Forms.Timer, Interval: 500 is: False
System.Windows.Forms.Timer, Interval: 500 is: True


Actual Output:
System.Windows.Forms.Timer, Interval: 500 is: False
Uncaught exception: System.ArgumentOutOfRangeException: Array position or 
length is out of range
Parameter name: index
        at System.Collections.ArrayList.get_Item(Int32) in 
.SystemCollectionsArrayList.cs
        at System.Drawing.Toolkit.DrawingToolkit.RegisterTimer(Object, Int32, 
EventHandler) in .DrawingToolkit.cs
        at System.Windows.Forms.Timer.set_Enabled(Boolean) in .Timer.cs
        at Class1.Main(String[])







No Followups Have Been Posted


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Mon 10/27/2003 at 17:55  Name: Class1.cs  Size: 0KB   By: Krai
Test case
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=6201&bug_file_id=759


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6201&group_id=353

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



reply via email to

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