Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2014-07-09 16:47:48 +0400
committerjfrijters <jfrijters>2014-07-09 16:47:48 +0400
commita877b8e419eaa37e61bcf3160a7d6a9cccac25b1 (patch)
tree14a07e0991d15b4eb5600b06b6fc04d6b610515b
parente714b27336d2382f7c365c16579a687aa4ad5136 (diff)
If an interface extends java.lang.Comparable and has an explicit compareTo method, we bail out.
-rw-r--r--runtime/LambdaMetafactory.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/LambdaMetafactory.cs b/runtime/LambdaMetafactory.cs
index f2a5bc81..e3a2a31b 100644
--- a/runtime/LambdaMetafactory.cs
+++ b/runtime/LambdaMetafactory.cs
@@ -854,6 +854,10 @@ namespace IKVM.Internal
{
return false;
}
+ if (current != null && mw.RealName != current.RealName)
+ {
+ return false;
+ }
}
}
foreach (TypeWrapper tw1 in tw.Interfaces)