// Use this for initialization void Start() { print(testVal.GetType()); print(testVal.GetType() == typeof(int)); testClass testInstance = new testClass(); print(testInstance.GetType()); print(testInstance.GetType() == typeof(testClass)); }
public void CanMapClassWithProperties() { var c = new testClass { y = 2 }; Assert.IsTrue(intStruct.CanBeAssignedFromType(c.GetType())); }