[Mono-list] FileSystemWatcher status

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon Jan 2 00:53:39 EST 2006


On Thu, 2005-12-22 at 11:27 +0100, Stefano Incontri wrote:
> >From the first 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 ()

Please, send me a test case with instructions on how to reproduce this
problem or, better yet, file a bug report
(http://www.mono-project.com/Bugs) and I will fix it ASAP.

Thanks.

-Gonzalo




More information about the Mono-list mailing list