This is error because of multiple times changes in the blocks of code. This is the error on building a recent changes which is not affecting by last changes.
1. Take a complete old code in to Notepad and save the class and built the object.
2. Now replace this blocks of code with the buffer you have in clipboard.
3. You may save and build now.