[Mono-bugs] [Bug 530158] New: Compiler crash with indexer property as "out" parameter
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Aug 11 17:04:45 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=530158
Summary: Compiler crash with indexer property as "out"
parameter
Classification: Mono
Product: Mono: Compilers
Version: 2.4.x
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: uhrm at inf.ethz.ch
QAContact: mono-bugs at lists.ximian.com
Found By: Development
Created an attachment (id=312048)
--> (http://bugzilla.novell.com/attachment.cgi?id=312048)
Source code to reproduce problem.
Description of Problem:
Trying to compile the attached code with gmcs throws an internal exception.
Steps to reproduce the problem:
1. gmcs Test.cs
2. bang!
Actual Results:
Exception caught by the compiler while compiling:
Block that caused the problem begin at: Test.cs(26,36):
Block being compiled: [Test.cs(27,17):,Test.cs(30,17):]
System.NullReferenceException: Object reference not set to an instance of an
object
Internal compiler error at Test.cs(26,36):: exception caught while emitting
MethodBuilder [Test::Main]
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at Mono.CSharp.TypeManager.CSharpSignature (System.Reflection.MethodBase mb,
Boolean show_accessor) [0x00000]
<--snip--->
Expected Results:
Either an error message or proper compilation (sorry, don't know what the spec
says).
How often does this happen?
Always.
Additional Information:
--
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