Updated SrcMLElement.GetMethodSignature to remove possible null reference exceptions.