[Mono-bugs] [Bug 433952] New: Error VBNC99999: No non-narrowing (except object) for Thread.Sleep(double)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 9 11:44:52 EDT 2008


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


           Summary: Error VBNC99999: No non-narrowing (except object) for
                    Thread.Sleep(double)
           Product: Mono: Compilers
           Version: SVN
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: abatishchev at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User


Error VBNC99999: No non-narrowing (except object) for code like this:
Dim d as Double = 1
Thread.Sleep(d)

or (from real project)
Dim s as String = CV.CoreSettings.Performance.GraphRefreshInterval
Dim d as Double = Performance.Core.Settings.get_LongValue(s)
Thread.Sleep(d)

MonoDevelop output:
vbnc -out:"/home/godfather/Dev/VBTest/bin/Debug/VBTest.exe" -nologo -utf8output
-debug:full -target:exe  -r:/usr/lib/mono/2.0/System.dll
"/home/godfather/Dev/VBTest/Test.vb"
/home/godfather/Dev/VBTest/Test.vb (13,11) : Error VBNC99999: No non-narrowing
(except object): /home/godfather/Dev/VBTest/Test.vb (13,11)

The same code in VS compiles fine

MD version 2.0 Alpha 1
VBNC from SVN
Debian


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