http://bugzilla.novell.com/show_bug.cgi?id=616667

http://bugzilla.novell.com/show_bug.cgi?id=616667#c0


           Summary: gmcs crashes on trying to resolve static method in
                    nonstatic context
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


The following code crashes the compiler, at attempt to call static method
within an instance (Thread.CurrentThread.ResetAbort())

--------

using System;
using System.Threading;

public class Test
{
        public static void Main ()
        {
                try {
                        while (true)
                                Thread.Sleep (100);
                } catch (ThreadAbortException) {
                        Thread.CurrentThread.ResetAbort ();
                }
        }
}

-- 
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

Reply via email to