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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=81259

--- shadow/81259        2007-03-28 19:47:02.000000000 -0500
+++ shadow/81259.tmp.8089       2007-03-28 19:47:02.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 81259
+Product: Mono: Compilers
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Problem with "internal" access modifier.
+
+Description of Problem:
+
+gmcs compiles the attached code with no warnings, but when run, a
+System.InvalidProgramException : Invalid IL code ...
+
+When I add "internal" to the definition of a method, the problem goes away.
+
+Steps to duplicate the bug.
+1. Download and extract http://stat.stanford.edu/~patperry/array.tar.gz
+2. Run "nant test" in trunk
+
+Actual Results:
+throws a System.InvalidProgramException
+
+Expected Results:
+should run with no errors
+
+
+How often does this happen? 
+every time
+
+Additional Information:
+
+The problem function is in src/Array.cs and is called UnsafeSetValue,
+defined at line 399.  The signature is:
+
+protected virtual void UnsafeSetValue (T value, int index)
+
+when the signature is changed to 
+
+internal protected virtual void UnsafeSetValue (T value, int index)
+
+the bug goes away.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to