static void AssertProperty <T>(Func <T> func, string name)
        {
            var info = Reflect.Property(func);

            Assert.AreSame(typeof(T), info.ReturnType);
            Assert.AreEqual("get_" + name, info.Name);
        }
 public string GetNameOfProperty()
 {
     return(Reflect.Property(() => Target.SomeProperty).Name);
 }