Bitmap qrcode = encoder.Encode(QRCodeLocation);
You are blindly trying to assign the qrcode value to whatever encoder is returning. I don't know the QrCodeEncoder code but clearly your encoder returns void type and thus forcing an assignment in above line will throw the error.
Remove the assignment as it is of void type. Go through their examples and see how to use if you are new to the library.