[Mono-bugs] [Bug 541052] New: Inspecting value type variable shows null value

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 22 10:46:41 EDT 2009


           Summary: Inspecting value type variable shows null value
    Classification: Mono
           Product: Mono: Debugger
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: backend
        AssignedTo: martin at novell.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


using System;

struct S
    public static S Null = new S ();

class Program
    static void Main (string[] args)
    S s;
        Environment.Exit (1);


Mono Debugger
(mdb) r
Starting program: bug-mdb.exe 
Thread @1 stopped at #0: 0xb70362a2 in Program.Main(string[])+0xa at
  14         Environment.Exit (1);
(mdb) p s
(S) { }
(mdb) p S.Null
(S) null

I don't think S.Null has value NULL.

Configure bugmail: http://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