[Mono-bugs] [Bug 616667] New: gmcs crashes on trying to resolve static method in nonstatic context

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 23 07:23:00 EDT 2010


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: msafar at novell.com
        ReportedBy: aenomoto at novell.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list