You forgot () in your toString calls.
edit - sorry, I had to step back for a second. As @Gareth commented, references to "toString" are syntactically valid, as they are just function references. Thus, the analyzer has no problems with your code. What is wrong when you implicitly convert these links into strings.
If you just add () to each call, it should work much better. Or, since this page you are linking to points to a few posts further, you really don't need .toString() at all.
source share