http://bugzilla.novell.com/show_bug.cgi?id=512340


           Summary: Incorrect behaviour: BufferList property of
                    SocketAsyncEventArgs
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Description of Problem:
It throws an exception if Buffer is non-null when it should throw an exception
only when both Buffer and value are non-null.

It is currently:

set {
  if (Buffer != null)
    throw new ArgumentException ("Buffer and BufferList properties cannot both
be non-null.");
  _bufferList = value;
}

Should be something like this:
set {
  if (Buffer != null && value != null)
    throw new ArgumentException ("Buffer and BufferList properties cannot both
be non-null.");
  _bufferList = value;
}

-- 
Configure bugmail: http://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