[Mono-bugs] [Bug 344156] New: System.Net.IPAddress.TryParse bug

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 26 17:11:31 EST 2007


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

           Summary: System.Net.IPAddress.TryParse bug
           Product: Mono: Class Libraries
           Version: 1.2.5
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: alan.mcgovern at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


This code should not parse successfully:

using System;
using System.Net;

namespace TCP
{
    class Program
    {
        static void Main(string[] args)
        {
            IPAddress address;
            if (IPAddress.TryParse("", out address))
                Console.WriteLine("THIS IS A BUG");
            else
                Console.WriteLine("This is correct behavior");
            Console.ReadLine();
        }
    }
}


-- 
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