} // end Scope constructor method. //--- implement the IEnumerable interface; //--- note this only iterates over symbols in the symbol table of this scope, it does not apply to any parent scopes. //--- Note this must be implemented both for the Collections and Collections.Generic versions. IEnumerator <ISymbol> IEnumerable <ISymbol> .GetEnumerator() { return(symbols.GetEnumerator()); }