Esempio n. 1
0
 public int CompareTo(BasicBlock other)
 {
     if (ReferenceEquals(this, other))
     {
         return(0);
     }
     if (ReferenceEquals(null, other))
     {
         return(1);
     }
     return(BlockId.CompareTo(other.BlockId));
 }
Esempio n. 2
0
 public int CompareTo(CommandNumber other)
 {
     return(BlockId == other.BlockId ?
            CommandId.CompareTo(other.CommandId) : BlockId.CompareTo(other.BlockId));
 }