When you define a class in multiple files by using the partial keyword, you can only have one partial definition in each file.
Remove all but one of the partial definitions of your class from the file.