I'm not sure if this is due to VS extensibility, but you can certainly call the method with the out parameter by reflection and find out the value of the out parameter after that:
using System; using System.Reflection; class Test { static void Main() { MethodInfo method = typeof(int).GetMethod ("TryParse", new Type[] { typeof(string), typeof(int).MakeByRefType() });
Note that you need to keep a reference to the array used to pass arguments to the method - as after that you get the value of the out parameter. The same is true for ref .
source share