protected override void OnError(ComparerError e) { base.OnError(e); if (!IsNewError) return; lock (ConsoleState.Lock) { MsgLine( " <error-details> * A: [{0}] = {1}, B: [{2}] = {3}, A ^ B = {4}</error-details>", e.OffsetA.ToString("x16"), e.A.ToString("x16"), e.OffsetB.ToString("x16"), e.B.ToString("x16"), (e.A ^ e.B).ToString("x16") ); X.Boop(); } }
protected virtual void OnError(ComparerError e) { if (!ErrorList.Contains(e)) { IsNewError = true; ErrorList.Add(e); State.Errors++; } else IsNewError = false; var handler = Error; if (IsNewError && handler != null) handler(this, e); }