[Mono-bugs] [Bug 689459] New: Default initialized CancellationToken behaves different in mono
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Apr 23 13:17:07 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=689459
https://bugzilla.novell.com/show_bug.cgi?id=689459#c0
Summary: Default initialized CancellationToken behaves
different in mono
Classification: Mono
Product: Mono: Class Libraries
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: WolfgangSt at spambog.de
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Description of Problem:
Default CancellationToken behaves different within mono than on ms .net.
ThrowIfCancellationRequested() wont throw on a default inited object with .net
framework 4 on windows, but throws with mono.
Steps to reproduce the problem:
1.
var tok = new CancellationToken();
tok.ThrowIfCancellationRequested();
Actual Results:
Exception thrown
How often does this happen?
Always
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list