| 265 | } |
| 266 | |
| 267 | bool ScriptingObject::Is(const ScriptingTypeHandle& type) const |
| 268 | { |
| 269 | CHECK_RETURN(type, false); |
| 270 | #if SCRIPTING_OBJECT_CAST_WITH_CSHARP |
| 271 | return _type == type || CanCast(GetClass(), type.GetType().ManagedClass); |
| 272 | #else |
| 273 | return CanCast(GetTypeHandle(), type); |
| 274 | #endif |
| 275 | } |
| 276 | |
| 277 | void ScriptingObject::ChangeID(const Guid& newId) |
| 278 | { |
no test coverage detected