| 147 | } |
| 148 | |
| 149 | bool Type::IsAssignableFrom(const Type::Ptr& other) const |
| 150 | { |
| 151 | for (Type::Ptr t = other; t; t = t->GetBaseType()) { |
| 152 | if (t.get() == this) |
| 153 | return true; |
| 154 | } |
| 155 | |
| 156 | return false; |
| 157 | } |
| 158 | |
| 159 | Object::Ptr Type::GetPrototype() const |
| 160 | { |
no test coverage detected