public bool RemoveErrorListener(ErrorCallback callback, object userData)
    {
        ErrorListener item = new ErrorListener();

        item.SetCallback(callback);
        item.SetUserData(userData);
        return(this.m_errorListeners.Remove(item));
    }
    public bool AddErrorListener(ErrorCallback callback, object userData)
    {
        ErrorListener item = new ErrorListener();

        item.SetCallback(callback);
        item.SetUserData(userData);
        if (this.m_errorListeners.Contains(item))
        {
            return(false);
        }
        this.m_errorListeners.Add(item);
        return(true);
    }