Ejemplo n.º 1
0
        public static CodeMemberMethod FindMethod(this CodeCompileUnit unit, string typeName,
                                                  string methodName)
        {
            var type = unit.FindType(typeName);

            if (type == null)
            {
                return(null);
            }
            return(type.FindMethod(methodName));
        }