public void CanSetPropertyValueWithFastInfo() { FastPropertyInfo propInfo = new FastPropertyInfo(typeof(Foo).GetProperty("B")); Foo a = new Foo(); Bar b = new Bar(); propInfo.SetValue(a, b, null); Assert.AreSame(b, a.B); }