How (actual with which instuments like ReSharper) in VS10 developer can find "unsafe" method invokes - i.e. invokes, which unattainable by call stack in no one safe block (try-catch) ?
class A
{
public static vois f()
{
try
{
...
B.DoSome(); // safe call, exceptions handled
}
catch(Exception e)
{
...
}
}
public static void f2()
{
... //no try-catch block
B.DoSome(); // possible unhandled exception
}
}
class B
{
public static void DoSome()
{
...
//no try-catch block, possible to raise unhandled exception
}
}