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=82867 --- shadow/82867 2007-09-14 17:49:53.000000000 -0400 +++ shadow/82867.tmp.12838 2007-09-14 17:49:53.000000000 -0400 @@ -0,0 +1,60 @@ +Bug#: 82867 +Product: Mono: Compilers +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: object.Finalize is not recognized correctly + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: + + +Steps to reproduce the problem: +1. + +using System; + +interface I +{ + void Finalize (); +} + +class MainClass +{ + void Foo (I i) + { + i.Finalize (); + } + + public static void Main () + { + } +} + + +Actual Results: + +.cs(12,19): error CS0245: Destructors and object.Finalize cannot be called +directly. Consider calling IDisposable.Dispose if available + +Expected Results: + +No error. + + +How often does this happen? + + +Additional Information: _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
