[Mono-bugs] [Bug 652241] New: VBNC exception during code generation (VBNC99999) for Timer event handler

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 8 23:14:15 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=652241

https://bugzilla.novell.com/show_bug.cgi?id=652241#c0


           Summary: VBNC exception during code generation (VBNC99999) for
                    Timer event handler
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: VMWare
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: mcsSolutions at CenturyTel.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322; OfficeLiveConnector.1.5;
OfficeLivePatch.1.3; .NET4.0C)

Compile error for Timer event handler
Line 1 There was an exception during code generation (VBNC99999)
Line 1 Unexpected error: There has been an internal error in the compiler
(VBNC99999)



Class Class1

    Private WithEvents Timer1 As System.Timers.Timer

    Public Sub Main()
    End Sub

    Private Sub Timer1Event( _
               ByVal sender As System.Object, _
               ByVal eventArgs As System.EventArgs) _
               Handles Timer1.Elapsed
        Timer1.Stop()
20:     Exit Sub

    End Sub
End Class

Reproducible: Always

Steps to Reproduce:
1. Create project with a System Timer and Event handler as shown in details
2. Build project
3.
Actual Results:  
Two error messages shown at start of details

Expected Results:  
No compilation errors

-- 
Configure bugmail: https://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