diff --git a/reflect/EventInfo.cs b/reflect/EventInfo.cs index 203a6368..658f9541 100644 --- a/reflect/EventInfo.cs +++ b/reflect/EventInfo.cs @@ -75,5 +75,10 @@ namespace IKVM.Reflection { return new GenericEventInfo(this.DeclaringType.BindTypeParameters(type), this); } + + public override string ToString() + { + return this.DeclaringType.ToString() + " " + Name; + } } } diff --git a/reflect/PropertyInfo.cs b/reflect/PropertyInfo.cs index 869ef5f6..91a71c27 100644 --- a/reflect/PropertyInfo.cs +++ b/reflect/PropertyInfo.cs @@ -164,5 +164,10 @@ namespace IKVM.Reflection { return new GenericPropertyInfo(this.DeclaringType.BindTypeParameters(type), this); } + + public override string ToString() + { + return this.DeclaringType.ToString() + " " + Name; + } } }