[Mono-bugs] [Bug 366450] New: System.IO.DriveInfo.GetDrives() contains debugging Console.Write's.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Mar 1 22:44:13 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=366450


           Summary: System.IO.DriveInfo.GetDrives() contains debugging
                    Console.Write's.
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: sir.knyghtmare at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner


Executing System.IO.DriveInfo.GetDrives() causes what appear to be debugging
messages to appear on stdout.

Code:

driveBug.cs-
using System;
using System.Collections;
using System.Text;

namespace BugReport
{
        class Program
        {
                static void Main(string[] args)
                {
                        System.IO.DriveInfo[] dInfo =
System.IO.DriveInfo.GetDrives();
                }
        }
}

Compile with:
gmcs ./driveBug.cs

Execute with:
mono ./driveBug.exe

Expected output:
nothing

Actual output:
here System.IO.StreamReader
L: Linux


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list