X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FIKVM.Reflection%2FConstructorInfo.cs;h=6e8bff31b4b9cb255bd500fb192e2b15221cbf33;hb=2670761ee7f20ecfb4b49610394aca0f44aa0738;hp=69e2b4df6fae1ec97abd24cd57ed8295d4a2b658;hpb=5b558abeeb255a3179d4ca6a85617e051c6abd38;p=mono.git diff --git a/mcs/class/IKVM.Reflection/ConstructorInfo.cs b/mcs/class/IKVM.Reflection/ConstructorInfo.cs index 69e2b4df6fa..6e8bff31b4b 100644 --- a/mcs/class/IKVM.Reflection/ConstructorInfo.cs +++ b/mcs/class/IKVM.Reflection/ConstructorInfo.cs @@ -28,6 +28,11 @@ namespace IKVM.Reflection { public abstract class ConstructorInfo : MethodBase { + // prevent external subclasses + internal ConstructorInfo() + { + } + public static readonly string ConstructorName = ".ctor"; public static readonly string TypeConstructorName = ".cctor"; @@ -196,6 +201,11 @@ namespace IKVM.Reflection get { return method.MetadataToken; } } + public override bool __IsMissing + { + get { return method.__IsMissing; } + } + internal override MethodInfo GetMethodInfo() { return method;