please someone explain to me why the 3rd line of my code fails

Code:
TypeDescriptor.CreateProperty(typeof (Class1), "test", typeof (int));
Assert.IsNotNull(TypeDescriptor.GetProperties(typeof (Class1).GetProperty("test")));
Assert.IsNotNull(typeof (Class1).GetProperty("test"));