[Mono-bugs] [Bug 654637] New: Wrong PublicKey when accessing missing keycontainer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 18 10:01:21 EST 2010



           Summary: Wrong PublicKey when accessing missing keycontainer
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Cecil
        AssignedTo: spouliot at novell.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

using System.Reflection;

class A
    public static void Main ()
        var r = new StrongNameKeyPair ("does -% not exist").PublicKey;
        System.Console.WriteLine (r.Length);


Unhandled Exception: System.ArgumentException: Unable to obtain public key for
   at System.Reflection.StrongNameKeyPair.ComputePublicKey()
   at System.Reflection.StrongNameKeyPair.get_PublicKey()
   at A.Main()


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