[Mono-bugs] [Bug 512340] New: Incorrect behaviour: BufferList property of SocketAsyncEventArgs
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Jun 11 13:18:33 EDT 2009
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: mono-bugs at lists.ximian.com
ReportedBy: ickard at gmail.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list