internal bool IsCompatible(AsyncCallback callback)
{
if (callback == null || _savedCallback == null)
{
return false;
}
// Delegates handle this ok. AsyncCallback is sealed and immutable, so if this succeeds, we are safe to use
// the passed-in instance.
if (!object.Equals(_savedCallback, callback))
{
return false;
}
return true;
}