[Mono-bugs] [Bug 76803][Nor] New - Array.Find<T> and
Array.FindLast<T> should return T, not Nullable<T>
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Nov 23 10:12:48 EST 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by denisv at komo.lt.
http://bugzilla.ximian.com/show_bug.cgi?id=76803
--- shadow/76803 2005-11-23 10:12:48.000000000 -0500
+++ shadow/76803.tmp.20599 2005-11-23 10:12:48.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 76803
+Product: Mono: Class Libraries
+Version: 1.1
+OS: unknown
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: denisv at komo.lt
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Array.Find<T> and Array.FindLast<T> should return T, not Nullable<T>
+
+Array.Find<T> and Array.FindLast<T> in .NET 2.0 and Mono 1.1.10 have
+different return value types: T in .NET 2.0 and Nullable<T> in Mono. This
+causes errors like this when trying to compile applications written for
+.NET 2.0 in Mono:
+
+error CS0029: Cannot implicitly convert type
+`System.Nullable<System.Reflection.ConstructorInfo>' to
+`System.Reflection.ConstructorInfo'
+
+See http://msdn2.microsoft.com/en-us/library/d9hy2xwa.aspx and
+http://msdn2.microsoft.com/en-us/library/2857xz7b.aspx for MS's
+descriptions of these methods.
More information about the mono-bugs
mailing list