public void Prepared() { TransactionsEtwProvider etwLog = TransactionsEtwProvider.Log; if (etwLog.IsEnabled()) { etwLog.MethodEnter(TraceSourceType.TraceSourceLtm, this); etwLog.EnlistmentPrepared(_internalEnlistment); } lock (_internalEnlistment.SyncRoot) { _internalEnlistment.State.Prepared(_internalEnlistment); } if (etwLog.IsEnabled()) { etwLog.MethodExit(TraceSourceType.TraceSourceLtm, this); } }