[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



           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:

var tok = new CancellationToken();

Actual Results:
Exception thrown

How often does this happen? 

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