[Mono-bugs] [Bug 333696] New: Emitting Stelem/Ldelem with Type fails for native types
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Oct 14 02:39:07 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=333696
Summary: Emitting Stelem/Ldelem with Type fails for native types
Product: Mono: Class Libraries
Version: unspecified
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at ximian.com
ReportedBy: bzximian.3.crazycomputers at neverbox.com
QAContact: mono-bugs at ximian.com
Found By: ---
Created an attachment (id=178286)
--> (https://bugzilla.novell.com/attachment.cgi?id=178286)
testcase
Description of Problem:
Using the call ILGenerator.Emit(OpCodes.Ldelem, typeof(int)) (or Stelem) causes
incorrect IL to be generated.
Steps to reproduce the problem:
1. Compile the attached testcase.
2. Observe behavior on Mono and MS.NET.
Actual Results:
When the program is run, the following is displayed:
-------8<-------
** (./Emit.exe:4455): WARNING **: unknown token type 0
** ERROR **: file class.c: line 4079 (mono_class_get_full): should not be
reached
aborting...
-------8<-------
Following this is a managed and native stacktrace.
Expected Results:
MS.NET displays two success messages, and judging by the documentation this
appears to be the correct behavior given the testcase.
--
Configure bugmail: https://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