http://bugzilla.novell.com/show_bug.cgi?id=527887
Summary: XObject.Annotation method throws an ArgumentException
instead of returning null
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: i686
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.XML
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.2)
Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
As detailed in the MSDN Class Library Documentation
(http://msdn.microsoft.com/en-us/library/bb350955.aspx) the method "public
object Annotation (Type type)" of System.Xml.Linq.XObject should return null if
no annotation is found.
In mono it throws an ArgumentException instead.
Reproducible: Always
Steps to Reproduce:
1. Create a XObject.
2. Call the Annotation method for any type.
Actual Results:
An ArgumentException is thrown
Expected Results:
should return null
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs