[Mono-bugs] [Bug 548276] New: Marshalling DateTime -> DATE doesn't work for out params.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 19 19:34:59 EDT 2009


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


           Summary: Marshalling DateTime -> DATE doesn't work for out
                    params.
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: interop
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=323138)
 --> (http://bugzilla.novell.com/attachment.cgi?id=323138)
Part one of test case

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14)
Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14

For example:

static extern void MyFunction(System.DateTime d, out System.DateTime e);

The second param 'e' is passed by ref which is currently not supported.
asserts.

Attaching test cases.

Reproducible: Always

Steps to Reproduce:
1. Compile and run test case
2.
3.
Actual Results:  
**
ERROR:marshal.c:5607:emit_marshal_vtype: code should not be reached
Stacktrace:

Expected Results:  
Prints Current date and time in days followed by a ToString of DateTime.

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


More information about the mono-bugs mailing list