projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d5852
)
Fix a C# compiler error in the runtime test suite.
author
Alex Rønne Petersen
<alexrp@xamarin.com>
Fri, 26 Jul 2013 14:23:51 +0000
(16:23 +0200)
committer
Alex Rønne Petersen
<alexrp@xamarin.com>
Fri, 26 Jul 2013 14:23:51 +0000
(16:23 +0200)
mono/tests/runtime-invoke.cs
patch
|
blob
|
history
diff --git
a/mono/tests/runtime-invoke.cs
b/mono/tests/runtime-invoke.cs
index 816978b7c8fb29f3b8b067ee9a7bdac8ad55a538..624feae80cd7822e0dfaddd6ae60013655f43385 100644
(file)
--- a/
mono/tests/runtime-invoke.cs
+++ b/
mono/tests/runtime-invoke.cs
@@
-240,7
+240,7
@@
class Tests
int[,,] arr = new int [10, 10, 10];
arr [0, 1, 2] = 42;
var gm = arr.GetType ().GetMethod ("Get");
- int i = gm.Invoke (arr, new object [] { 0, 1, 2 });
+ int i =
(int)
gm.Invoke (arr, new object [] { 0, 1, 2 });
if (i != 42)
return 1;
var sm = arr.GetType ().GetMethod ("Set");