[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #9921] MethodBuilder.DefineParameter() crashes o
From: |
Marcus Urban |
Subject: |
[Pnet-developers] [bugs #9921] MethodBuilder.DefineParameter() crashes on null param name |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.2; Linux 2.4.21-144-athlon; X11; i686; en_US) (KHTML, like Gecko) |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #9921] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9921>
Project: DotGNU Portable.NET
Submitted by: Marcus Urban
On: Sun 08/08/2004 at 08:46
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Status: Open
Summary: MethodBuilder.DefineParameter() crashes on null param name
Original Submission: MethodBuilder.DefineParameter() crashes with the message
below when a null string is passed for the argument name. (The class lib docs
explicitly permit the null string to be used here.)
Uncaught exception: System.OutOfMemoryException
at System.Reflection.Emit.ParameterBuilder.ClrParameterCreate(?)
at System.Reflection.Emit.ParameterBuilder..ctor(?) in
./System/Reflection/Emit/ParameterBuilder.cs:54
at System.Reflection.Emit.MethodBuilder.DefineParameter(?) in
./System/Reflection/Emit/MethodBuilder.cs:186
at Testing.Main(?)
Change the null on line 39 to "arg" and the crash does not occur.
File Attachments
-------------------
-------------------------------------------------------
Date: Sun 08/08/2004 at 08:46 Name: sre-pnet-test.cs Size: 1.53KB By:
mathpup
Test case
http://savannah.gnu.org/bugs/download.php?item_id=9921&item_file_id=1569
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9921>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Pnet-developers] [bugs #9921] MethodBuilder.DefineParameter() crashes on null param name,
Marcus Urban <=