/// <remarks>Only call from inside a lock</remarks> internal void Add(TElem listener) { Debug.Assert(null != listener, "null listener"); Debug.Assert(!Index.ContainsReference(listeners, listener), "already contains reference"); listeners.Add(listener); }