[Mono-bugs] [Bug 515884] New: call on virtual/final property gives runtime error while callvirt works fine

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 24 02:31:33 EDT 2009


           Summary: call on virtual/final property gives runtime error
                    while callvirt works fine
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: i386
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ck at carlo-kok.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:
Gecko/2009060215 Firefox/3.0.11 (.NET CLR 4.0.20506)

The attached il files are identical except for a callvirt vs call to
System.AppDomain::get_FriendlyName(). The Oxygene compiler emits call for
methods that are non-virtual or virtual/final, callvirt is only used for
methods that can actually be overridden.

Reproducible: Always

Steps to Reproduce:
1. mono C#_Program.exe  << notice it succeeds
2. mono Oxygene_Program.exe << notice it fails
Actual Results:  


  at (wrapper managed-to-native) System.AppDomain.getFriendlyName () <0x00004>
  at (wrapper managed-to-native) System.AppDomain.getFriendlyName ()
  at System.AppDomain.get_FriendlyName () <0x00010>
  at ConsoleApplication1.Program.Main (string[]) <0x0001e>
  at (wrapper runtime-invoke)
ject (object,intptr,intptr,intptr) <0xffffffff>

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Expected Results:  
no output (as expected)

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