private IType FindBaseType() { foreach (TypeReference baseType in _node.BaseTypes) { IType entity = (IType)baseType.Entity; if (null != entity && !entity.IsInterface) { return entity; } } return null; }