So anyone have any idea why this object public class UserCode { public int UserCodeId { get; set; } public int UserId { get; set; } public int EventId { get; set; } public string Code { get; set; } }
Would return false to PropertyInfo.CanWrite in Mono for Android when using reflections like this? var objType = userCode.GetType(); var props = objType.GetProperties(); foreach (var prop in props) { var type = prop.PropertyType; if (!type.IsPublic || !prop.CanWrite) //< --- returns false here even though the def is clearly public write. Especially when the same lines of code work correctly on WP7 and MonoTouch? Thanks! Josh
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid