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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to