зеркало из https://github.com/mono/ikvm-fork.git
Implemented ToString() for EventInfo and PropertyInfo.
This commit is contained in:
Родитель
fa9d2533d2
Коммит
92dfa2449d
|
@ -75,5 +75,10 @@ namespace IKVM.Reflection
|
||||||
{
|
{
|
||||||
return new GenericEventInfo(this.DeclaringType.BindTypeParameters(type), this);
|
return new GenericEventInfo(this.DeclaringType.BindTypeParameters(type), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
return this.DeclaringType.ToString() + " " + Name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -164,5 +164,10 @@ namespace IKVM.Reflection
|
||||||
{
|
{
|
||||||
return new GenericPropertyInfo(this.DeclaringType.BindTypeParameters(type), this);
|
return new GenericPropertyInfo(this.DeclaringType.BindTypeParameters(type), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
return this.DeclaringType.ToString() + " " + Name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче