public static CallableSignature GetOverriddenSignature(IMethod baseMethod, IMethod impl)
{
if (baseMethod.GenericInfo != null && GenericsServices.AreOfSameGenerity(baseMethod, impl))
{
return(baseMethod.GenericInfo.ConstructMethod(impl.GenericInfo.GenericParameters).CallableType.GetSignature());
}
return(baseMethod.CallableType.GetSignature());
}