Future request: disassemble preview

Hi all,

Sometimes using methods from 3d party libraries I don't know if method returns
null or throws
exception, example:

// suppose url doesn't contain test argument
string test = HttpContext.Current.Request.QueryString["test"];
// test is null or ...

It would be cool to press Ctrl-Shift-Q on QueryString and see C# (or VB)
disassembled method body (like Reflector does)
What do you think?


1 comment
Comment actions Permalink

I wish Microsoft had the foresight to implement the concept of checked and
unchecked exceptions along with an exception contract similar to the Java
platform to help us easily identify these situations without resorting to
Reflector or other methods to peek inside the IL to figure out what the code
does.

"tivadj" <tivadj@ua.fm> wrote in message
news:7d79fa757dc18c9bddb27d058c0@news.jetbrains.com...

Hi all,

>

Sometimes using methods from 3d party libraries I don't know if method
returns null or throws
exception, example:

>

// suppose url doesn't contain test argument
string test = HttpContext.Current.Request.QueryString["test"];
// test is null or ...

>

It would be cool to press Ctrl-Shift-Q on QueryString and see C# (or VB)
disassembled method body (like Reflector does)
What do you think?

>


0

Please sign in to leave a comment.