1
Vote

Invalid String Format

description

In various ToString functions you have for example.

return String.Format("function {0}() { [native code] }", xxx.Method.Name);

It needs to be formatted with double brackets like below otherwise it will throw an invalid format exception

return String.Format("function {0}() {{ [native code] }}", xxx.Method.Name);

comments