views:

40

answers:

1

The intellsiense in my vs 2008 does not show the exceptions that might be drawn when im using a function. writing in C# 3.5.

+1  A: 

If you're asking for exceptions that could be thrown by your code, I don't believe Visual Studio does this natively. There are, however, products that do show you potential exceptions, like Red-Gate's Exception Hunter. They have a free 15-day trial so you can see if it's what you're looking for.

rwmnau
If you document your functions like this/// <summary>/// Dinosaur gets bigger, by eating a big mammoth./// </summary>/// <exception cref="MeteorFellOnMeException"></exception>public void GetBigger()You will get the exception description by intellisense, however when hovering on a BCL func like SqlConnection.Open() you get nothing.
Hanan