public void RemoveNotifier(IProgressErrorNotifier notifier) { if (notifier == null) { throw new ArgumentNullException(nameof(notifier)); } lock (this.notifiersLock) { this.notifiers.Remove(notifier); } }