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:
authorMarek Safar <marek.safar@gmail.com>2013-02-08 21:31:49 +0400
committerMarek Safar <marek.safar@gmail.com>2013-02-08 21:33:36 +0400
commit1fff2451d1fcdf6c5921c54b4a0935d2c463f292 (patch)
treea35b12408fedbda5826583b2626baf189d799151 /mcs/class/corlib/System.Reflection/ConstructorInfo.cs
parentba1e20cf64ba6d9abcda74a41edd35085fc47889 (diff)
Add explicit interface GetType implementation to avoid object::GetType become proxy. Fixes #10148
Diffstat (limited to 'mcs/class/corlib/System.Reflection/ConstructorInfo.cs')
-rw-r--r--mcs/class/corlib/System.Reflection/ConstructorInfo.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/corlib/System.Reflection/ConstructorInfo.cs b/mcs/class/corlib/System.Reflection/ConstructorInfo.cs
index 5daf826463c..5b3ffed3306 100644
--- a/mcs/class/corlib/System.Reflection/ConstructorInfo.cs
+++ b/mcs/class/corlib/System.Reflection/ConstructorInfo.cs
@@ -70,6 +70,12 @@ namespace System.Reflection {
throw new NotImplementedException ();
}
+ Type _ConstructorInfo.GetType ()
+ {
+ // Required or object::GetType becomes virtual final
+ return base.GetType ();
+ }
+
void _ConstructorInfo.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo)
{
throw new NotImplementedException ();