summaryrefslogtreecommitdiff
path: root/src/dotnet-library
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-05-08 02:30:47 +0000
committerPaul Phillips <paulp@improving.org>2009-05-08 02:30:47 +0000
commit5671456e84381a463418e564bb6b71f160649dbb (patch)
tree9e9be64cdf387676db6666b2b69f7512088eb229 /src/dotnet-library
parent8155f5e712b80a3136c4e08362b8d85b1ef52d60 (diff)
downloadscala-5671456e84381a463418e564bb6b71f160649dbb.tar.gz
scala-5671456e84381a463418e564bb6b71f160649dbb.tar.bz2
scala-5671456e84381a463418e564bb6b71f160649dbb.zip
epic MSIL hacking - Array compiles.
Diffstat (limited to 'src/dotnet-library')
-rw-r--r--src/dotnet-library/scala/runtime/RichClass.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotnet-library/scala/runtime/RichClass.scala b/src/dotnet-library/scala/runtime/RichClass.scala
index 23f3c9dfe2..d8ce949410 100644
--- a/src/dotnet-library/scala/runtime/RichClass.scala
+++ b/src/dotnet-library/scala/runtime/RichClass.scala
@@ -21,5 +21,6 @@ final class RichClass(val self: Class[_]) extends Proxy {
def getClass(): RichClass = this
def getName(): String = self.Name
def getComponentType(): Class[_] = self.GetElementType
+ def isAssignableFrom(other: RichClass) = self.IsAssignableFrom(other.self)
}