Re: [mono-android] Problem with reflection and nullables

2012-06-05 Thread Chaitanya
This was actually an issue that I ran into a couple of weeks ago. There has been a bug filed already for this issue. As you found out, the inspector was the issue even if the value was properly set. https://bugzilla.xamarin.com/show_bug.cgi?id=5172 Chaitanya Marvici -- View this message in co

Re: [mono-android] Problem with reflection and nullables

2012-06-05 Thread Goncalo Oliveira
Nevermind, it is working correctly. The quick inspector isn't showing the correct value, but if I add something like "DateTime? j = p.Timmy" it is correct. On 5 June 2012 09:40, Goncalo Oliveira wrote: > Hi, > > > There seems to be an issue with reflection when setting a nullable generic > prop

[mono-android] Problem with reflection and nullables

2012-06-05 Thread Goncalo Oliveira
Hi, There seems to be an issue with reflection when setting a nullable generic property value. public class DummyJoe { public DateTime? Timmy { get; set; } } DummyJoe p = new DummyJoe(); Type type = p.GetType();