GetUniqueIDInternal() private method

private GetUniqueIDInternal ( ) : int
return int
示例#1
0
 internal static bool CompareIntPtr(Playable lhs, Playable rhs)
 {
     bool flag = (lhs == null) || !IsNativePlayableAlive(lhs);
     bool flag2 = (rhs == null) || !IsNativePlayableAlive(rhs);
     if (flag2 && flag)
     {
         return true;
     }
     if (flag2)
     {
         return !IsNativePlayableAlive(lhs);
     }
     if (flag)
     {
         return !IsNativePlayableAlive(rhs);
     }
     return (lhs.GetUniqueIDInternal() == rhs.GetUniqueIDInternal());
 }
示例#2
0
        internal static bool CompareIntPtr(Playable lhs, Playable rhs)
        {
            bool flag  = (object)lhs == null || !IsNativePlayableAlive(lhs);
            bool flag2 = (object)rhs == null || !IsNativePlayableAlive(rhs);

            if (flag2 && flag)
            {
                return(true);
            }
            if (flag2)
            {
                return(!IsNativePlayableAlive(lhs));
            }
            if (flag)
            {
                return(!IsNativePlayableAlive(rhs));
            }
            return(lhs.GetUniqueIDInternal() == rhs.GetUniqueIDInternal());
        }
示例#3
0
 internal static bool CompareIntPtr(Playable lhs, Playable rhs)
 {
   bool flag1 = (object) lhs == null || !Playable.IsNativePlayableAlive(lhs);
   bool flag2 = (object) rhs == null || !Playable.IsNativePlayableAlive(rhs);
   if (flag2 && flag1)
     return true;
   if (flag2)
     return !Playable.IsNativePlayableAlive(lhs);
   if (flag1)
     return !Playable.IsNativePlayableAlive(rhs);
   return lhs.GetUniqueIDInternal() == rhs.GetUniqueIDInternal();
 }