https://bugzilla.novell.com/show_bug.cgi?id=677265
https://bugzilla.novell.com/show_bug.cgi?id=677265#c0 Summary: Shstem.Windows.Threading.DispathcerTimer does not trigger. Classification: Mono Product: Mono: Class Libraries Version: 2.8.x Platform: Other OS/Version: Windows Status: NEW Severity: Normal Priority: P5 - None Component: Sys.Core AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.33 Safari/534.3 using System; using System.Windows.Threading; class MainClass { public static void Main() { DispatcherTimer timer = new DispatcherTimer(); timer.Interval = new TimeSpan(0, 0, 1); timer.Tick += (sender, e) => Console.WriteLine(DateTime.Now); timer.Start(); Dispatcher.Run(); } } mono test.exe Reproducible: Always Steps to Reproduce: 1.mcs test.cs /r:WindowsBase.dll 2.mono test.exe Actual Results: the console outputs nothing. Expected Results: the console outputs datetime every second. C:\>mono a.exe seems not tigger the timer, C:\>a.exe does. -- Configure bugmail: https://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
