[Mono-bugs] [Bug 30089][Wis] New - FileSystemWatcher needs a working null param constructor

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
10 Sep 2002 08:23:23 -0000


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 duncan@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=30089

--- shadow/30089	Tue Sep 10 04:23:23 2002
+++ shadow/30089.tmp.16998	Tue Sep 10 04:23:23 2002
@@ -0,0 +1,26 @@
+Bug#: 30089
+Product: Mono/Class Libraries
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: duncan@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: FileSystemWatcher needs a working null param constructor
+
+The FileSystemWatcher null param constructor passes String.Empty to the
+FileSystemWatcher (string, string) constructor and that in turn throws an
+exception.
+
+FileSystemWatcher watcher = new FileSystemWatcher();
+watcher.Path= args[0];
+
+This is valid code, but it doesn't work.