public bool RemoveContext(Context context) { if (context == null) { throw new ArgumentNullException("context"); } if (this.ChunkContexts.Remove(context)) { context.ClearTarget(); return true; } return false; }