public override int GetHashCode()
{
int hashCode = 0;
if (_callbackInstance != null)
{
hashCode ^= _callbackInstance.GetHashCode();
}
Fx.Assert(_remoteAddress != null, "remoteAddress should not be null.");
hashCode ^= _remoteAddress.GetHashCode();
Fx.Assert(_binding != null, "binding should not be null.");
hashCode ^= _binding.GetHashCode();
return(hashCode);
}