VS 2019 Building Error

Everything was working fine…I added a variable to one of my classes and it gets me these errors, after I deleted it the errors remain…and I don’t know why. I tried to regenerate the vs code, update vs, reboot my pc, but with no success. Do you guys have any idea why is this happening? Thank you for your time; tell me if you want me to post pictures with my code.