[Mono-bugs] [Bug 656468] New: System.Console.CapsLock incorrectly throws a System.NotSupportedException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 29 22:03:00 EST 2010


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

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


           Summary: System.Console.CapsLock incorrectly throws a
                    System.NotSupportedException
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jdomnitz at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:
System.Console.CapsLock throws a System.NotSupportedException while the
identical function System.Windows.Forms.Control.IsKeyLocked returns false and
is marked as TODO.  The official .Net class has Control.IsKeyLocked marked as
throwing the System.NotSupportedException but the Console.CapsLock function is
marked as not throwing any exceptions.  These functions should either both
return false (marked todo) or CapsLock should return false and IsKeyLocked
should throw the exception to be consistent with Microsoft's implementation.

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