What is wrong with this class? Is there something missing?
There are more variables than equations, which is typical for partial classes, the keyword partial is therefore missing.