Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MonoTouch.Dialog/Reflect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ static object GetValue (MemberInfo mi, object o)
return fi.GetValue (o);
var pi = mi as PropertyInfo;

var getMethod = pi.GetGetMethod ();
var getMethod = pi.GetGetMethod (true);
return getMethod.Invoke (o, new object [0]);
}

Expand All @@ -149,7 +149,7 @@ static void SetValue (MemberInfo mi, object o, object val)
return;
}
var pi = mi as PropertyInfo;
var setMethod = pi.GetSetMethod ();
var setMethod = pi.GetSetMethod (true);
setMethod.Invoke (o, new object [] { val });
}

Expand Down