static void OnSenderOpen(IAsyncResult result) { DuplexAmqpLink thisPtr = (DuplexAmqpLink)result.AsyncState; thisPtr.OnOperationComplete(thisPtr.sender, result, true); }