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