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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77068 --- shadow/77068 2005-12-22 11:02:38.000000000 -0500 +++ shadow/77068.tmp.15357 2005-12-22 11:02:38.000000000 -0500 @@ -0,0 +1,34 @@ +Bug#: 77068 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: Ubuntu +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: System +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: FileSystemWatcher IncludeDubdirectories + +From a few tests, I can see that FileSystemWatcher perfectly works +with files or folders, but not with subdirectories. +I mean, if I set FileSystemWatcher.IncludeSubdirectories = true it hangs +up while receiving events from inside the first folder, with the +following exception : + +Unhandled Exception: System.ArgumentOutOfRangeException: Index is less +than 0 or more than or equal to the list count. +Parameter name: index +4 +in <0x00071> System.Collections.ArrayList:get_Item (Int32 index) +in <0x004c0> System.IO.FAMWatcher:ProcessEvents () +in <0x00061> System.IO.FAMWatcher:Monitor () +in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () + +Instead, if I disable subdirectories or copy only files, it works. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
