https://bugzilla.novell.com/show_bug.cgi?id=341261#c1
Robert Jordan <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL
PROTECTED]
--- Comment #1 from Robert Jordan <[EMAIL PROTECTED]> 2007-11-13 15:01:46 MST
---
The test case returns "True" on MS.NET and crashes on Mono (both profiles).
It seems that the runtime-generated "Get" method cannot be called via
reflection.
using System;
using System.Reflection;
class T
{
static void Main ()
{
string[] s = new string [] {"hello", "world"};
Console.WriteLine (s [0] == (string) s.GetType ().InvokeMember
("Get", BindingFlags.Instance | BindingFlags.Public |
BindingFlags.InvokeMethod, null, s, new object [] {0}));
}
}
--
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