private bool Equals(ref BufferedPair pair1, ref BufferedPair pair2) { return pair1.ProxyId1 == pair2.ProxyId1 && pair1.ProxyId2 == pair2.ProxyId2; }