public void AddMethod(JavaScriptGlobalClass c) { string methodName = GetMethodName(); DefaultMethod method = c.AddMethod(methodName); UpdateRegions(method); }