Home
Options

Extension method return not shown in results panel

dmedme
edited August 2012
I cannot get my extensions methods to show their results in the results panel.
Example:

void Main()
{
object o = new object();
o.DumpPoco();
}

public static class MyExtensions
{
public static object DumpPoco(this object value)
{
return "hello world";
}
}
I can call the method, but nothing shows up in the "Results" panel.

Can someone please help me out.

Thanks,
David

Comments

Sign In or Register to comment.