public IEnumerable <IReferenceable> GetDefinitions(string name) { VariableDef def; if (_scope.TryGetVariable(name, out def)) { yield return(def); } }