https://bugzilla.novell.com/show_bug.cgi?id=345467
Summary: [Regression] Calling a generic method from inside an
anonymous method passed to a method causes exceptions
Product: Mono: Compilers
Version: 1.2.6
Platform: Other
OS/Version: Other
Status: NEW
Severity: Blocker
Priority: P5 - None
Component: C#
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Found By: ---
This regression affects actual code we are using in Banshee (the new managed
MusicBrainz library) [1]. The code compiles fine using csc and used to compile
with gmcs 1.2.5.
I have extracted two test cases. Each test throws a separate compiler
exception, but the root of the problem is the same.
The attached cases will explain the problem in detail.
I would appreciate the product code [1] be tested after the test cases are
tested and shown to be working.
Thanks!
[1]
$ svn co http://svn.gnome.org/svn/banshee/trunk/musicbrainz-sharp
$ ./autogen.sh
$ make
Unhandled Exception: Mono.CSharp.InternalErrorException:
/MusicBrainz/MusicBrainzObject.cs(382,13):
<>c__CompilerGenerated5<MusicBrainz.MusicBrainzObject.T>.<5:results> --->
System.NullReferenceException: Object reference not set to an instance of an
object
--
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs