public int GetSonID(MSonNode son) { if (!(son is Son)) { return(-1); } return(m_sonList.IndexOf((Son)son)); }
public int GetSonID(MSonNode son) { throw new Exception("The method or operation is not implemented."); }
public virtual int GetSonID(MSonNode son) { throw new Exception("can't use this method"); }
public bool Contains(MSonNode son) { return(GetSonID(son) >= 0); }