LiveTemplate question Follow
Hi,
consider this livetemplate:
throw new InvalidEnumArgumentException("$invalidEnum$", (int) $invalidEnum$,
typeof($invalidEnumType$));
What I want to achieve is that $invalidEnumType$ is replaced with the type
of the $invalidEnum$. Is this possible? I did not found a macro for this.
Another thing is that R# fails to complete the argument parameter with an
INvalidENumArgumentException. This works fine with the other
ArgumentExceptions, though.
Kind regards,
Henning Krause
Please sign in to leave a comment.