public void CompileAndExecuteNewDotNetObject()
{
Block block;
block = new Block();
block.CompileGetDotNetType("System.IO.FileInfo");
block.CompileGetConstant("FooBar.txt");
block.CompileSend("!new:");
block.CompileByteCode(ByteCode.ReturnPop);
object obj = block.Execute(null, null);
Assert.IsNotNull(obj);
Assert.IsInstanceOfType(obj, typeof(System.IO.FileInfo));
}