public System.Delegate this[object key] { get { throw null; } set { } } public void AddHandler(object key, System.Delegate value) { }