public void TypeTest(Type t) { var mt = t.AsMetaType(); Assert.AreEqual(mt.RuntimeType, t); Assert.AreEqual(mt.Token, t.MetadataToken); Assert.AreEqual(mt.Attributes, t.Attributes); var b1 = ReflectionHelper.CallGeneric( typeof(RuntimeHelpers).GetMethod("IsReferenceOrContainsReferences"), t, null); Assert.AreEqual(mt.IsReferenceOrContainsReferences, b1); }