Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsComObject()

static bool System.RuntimeTypeHandle.IsComObject ( RuntimeType type,
bool isGenericCOM )
inlinestaticpackage

Definition at line 402 of file RuntimeTypeHandle.cs.

403 {
404 if (isGenericCOM)
405 {
406 return type.TypeHandle.Value == typeof(__ComObject).TypeHandle.Value;
407 }
408 return CanCastTo(type, (RuntimeType)typeof(__ComObject));
409 }
static bool CanCastTo(RuntimeType type, RuntimeType target)

References System.RuntimeTypeHandle.CanCastTo(), System.Runtime.Serialization.Dictionary, and System.type.

Referenced by System.RuntimeType.IsCOMObjectImpl(), and System.RuntimeType.IsGenericCOMObjectImpl().