MemberCore FindMethod(string name, Location l){ var c = (Class)current_container; var methods = c.Methods; if(methods != null) { foreach(var method in methods){ if(method.Name == name){ return method; } } } return null; }