public override bool Equals(object obj)
{
MethodSignature otherMethod = obj as MethodSignature;
if (otherMethod == null)
{
return false;
}
if (otherMethod.AllRetTypes == AllRetTypes &&
otherMethod.AllArguments == AllArguments &&
otherMethod.ArgumentsHashCode() == ArgumentsHashCode() &&
otherMethod.MethodName.Equals(MethodName) &&
otherMethod.RetType.Equals(RetType) &&
otherMethod.Access.Equals(Access))
{
return true;
}
return false;
}