Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/gmcs/typemanager.cs')
-rw-r--r--mcs/gmcs/typemanager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/gmcs/typemanager.cs b/mcs/gmcs/typemanager.cs
index 4784538348a..f300641d9e4 100644
--- a/mcs/gmcs/typemanager.cs
+++ b/mcs/gmcs/typemanager.cs
@@ -640,9 +640,9 @@ public partial class TypeManager {
{
PropertyInfo pi = mi as PropertyInfo;
if (pi != null) {
- MethodBase pmi = pi.GetGetMethod (true);
+ MethodBase pmi = pi.GetGetMethod ();
if (pmi == null)
- pmi = pi.GetSetMethod (true);
+ pmi = pi.GetSetMethod ();
if (GetParameterData (pmi).Count > 0)
mi = pmi;
}