Recursive sign not present and nunit problems

In VS 2008, R# 5.1 final, there's no recursive sign in the left bar in this situation, also the function looks like there's no usage:
http://img5.imageshack.us/img5/5041/captureld.png
Also when debugging nunit tests, sometimes wrong line for exception is shown: Not sure, if it's R# problem.
http://img718.imageshack.us/img718/6602/capturegs.png

1 comment
Comment actions Permalink

Hello Martin,

Thank you for feedback! Regarding the problems you've mentioned:
1. You're right, in this particular case there will be a recursive call.
But in general, ReSharper doesn't know what will happen with the delegate
(p=>ExistsInTree(p, projectItem) in your case) inside a method call (Any()
in your case) and therefore ReSharper cannot find out for sure if there's
a recursion or not.
2. That's how Visual Studio handles exceptions in debug mode and it's not
related to ReSharper.

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

In VS 2008, R# 5.1 final, there's no recursive sign in the left bar
in this situation, also the function looks like there's no usage:
Image:http://img5.imageshack.us/img5/5041/captureld.png
Also when debugging nunit tests, sometimes wrong line for exception is
shown: Not sure, if it's R# problem.
Image:http://img718.imageshack.us/img718/6602/capturegs.png
---
Original message URL:
http://devnet.jetbrains.net/message/5267286#5267286



0

Please sign in to leave a comment.