public void TestOutMethod() { string tResult = String.Empty; var tPoco = new MethOutPoco(); var tName = "Func"; var tContext = GetType(); var tBinder = Binder.InvokeMember(BinderFlags.None, tName, null, tContext, new[] { Info.Create( InfoFlags.None, null), Info.Create( InfoFlags.IsOut | InfoFlags.UseCompileTimeType, null) }); var tSite = Impromptu.CreateCallSite <DynamicTryString>(tBinder, tName, tContext); tSite.Target.Invoke(tSite, tPoco, out tResult); Assert.AreEqual("success", tResult); }