public virtual void Remove(string name) { int count = mLevels.Count; for (int i = count - 1; i >= 0; i--) { LocalSymbolList list = mLevels[i]; int lindex = list.Find(name); if (lindex != -1) { list.Remove(lindex); return; } } }
public virtual int Find(string name) { int count = mLevels.Count; for (int i = count - 1; i >= 0; i--) { LocalSymbolList list = mLevels[i]; int lindex = list.Find(name); if (lindex != -1) { return(lindex + list.GetLocalCountStart()); } } return(-1); }