public SourceLocation FindMethod(string name) { foreach (Module module in Modules) { MethodSource method = module.FindMethod (name); if (method != null) return new SourceLocation (method); } return null; }