[Mono-bugs] [Bug 22035] New - out of index exception in new params code

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
17 Mar 2002 12:02:04 -0000

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lupus@ximian.com.


--- shadow/22035	Sun Mar 17 07:02:04 2002
+++ shadow/22035.tmp.18906	Sun Mar 17 07:02:04 2002
@@ -0,0 +1,27 @@
+Bug#: 22035
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Priority: Blocker
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: out of index exception in new params code
+The recent change to deal correctly with params arguments broke mcs while
+compiling itself:
+Unhandled Exception: System.IndexOutOfRangeException: Index was outside the
+bounds of the array.
+   at Mono.CSharp.ReflectionParameters.ParameterModifier(Int32 pos) in
+d:\mcs\mcs\support.cs:line 79
+   at Mono.CSharp.Invocation.EmitArguments(EmitContext ec, MethodBase mb,
+ArrayList arguments) in d:\mcs\mcs\expression.cs:line 3554