[Mono-bugs] [Bug 61120][Nor] Changed - FileNotFoundException does not set FileName property
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 3 Jul 2004 17:41:37 -0400 (EDT)
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 mathpup@mylinuxisp.com.
http://bugzilla.ximian.com/show_bug.cgi?id=61120
--- shadow/61120 2004-07-03 02:25:17.000000000 -0400
+++ shadow/61120.tmp.10302 2004-07-03 17:41:37.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 61120
Product: Mono: Class Libraries
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: mathpup@mylinuxisp.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -47,6 +47,33 @@
How often does this happen?
Always
Additional Information:
+
+------- Additional Comments From mathpup@mylinuxisp.com 2004-07-03 17:41 -------
+Test case:
+
+ using System;
+ using System.IO;
+
+
+ public class Testing
+ {
+ public static void Main()
+ {
+ Stream stream;
+
+ try
+ {
+ stream = new FileStream("DoesNotExist",
+FileMode.Open);
+ }
+ catch ( FileNotFoundException e )
+ {
+ Console.WriteLine( "Could not open file: " +
+e.FileName );
+ }
+ }
+ }
+