public void TypeReferenceValueType()
{
TestCSharp ("Methods.cs", module => {
var baz = module.GetType ("Baz");
var method = baz.GetMethod ("PrintAnswer");
var box = method.Body.Instructions.Where (i => i.OpCode == OpCodes.Box).First ();
var int32 = (TypeReference) box.Operand;
Assert.IsTrue (int32.IsValueType);
});
}