http://bugzilla.novell.com/show_bug.cgi?id=512330


           Summary: ParameterInfo::Value does not work for decimals
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


1. Compile with: -langversion:future



using System;

using System.Runtime.InteropServices;

using System.Reflection;

using System.Runtime.CompilerServices;



public class C

{

    public static void TestC (decimal u = decimal.MaxValue)

    {

    }



    public static void Main ()

    {

        var info = typeof (C).GetMethod ("TestC").GetParameters ();

        Console.WriteLine (info[0].DefaultValue);

    }

}



2. mono test.exe

Actual:

System.Reflection.Missing

Expected:

79228162514264337593543950335

-- 
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to