public override void Post(SendOrPostCallback d, object state) { if (d == null) { throw new ArgumentNullException("d"); } WorkItemsQueue.Add(new KeyValuePair <SendOrPostCallback, object>(d, state)); }