internal virtual void RestartCommitIfNeeded(InternalTransaction tx)
{
Debug.Assert(false, string.Format(null, "Invalid Event for State; Current State: {0}", GetType()));
TransactionsEtwProvider etwLog = TransactionsEtwProvider.Log;
if (etwLog.IsEnabled())
{
etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx.TransactionTraceId.TransactionIdentifier.ToString(), string.Empty);
}
throw new InvalidOperationException();
}