diff options
-rw-r--r-- | src/dotnet-library/scala/runtime/RichClass.scala | 1 |
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) } |