That's a fairly simple error to locate, if you have the code - which we don't.
It's a compiler error and it's coming because you have tried to do something like this:
private void MyMethod() { ... }
...
var x = MyMethod().DoSomething();
Because MyMethod is defined as returning a void - i.e. no value - the compiler is complaining (correctly) that you can't use "." on a call to the method.
But we can't tell which line it complains about - so look at the error message, and it will tell you exactly which file and line within that file it found the problem with. Look at eth methods you call on that line, and it should be pretty obvious. Fixing it is up to you: why are you calling that method and expecting it to return a value at all?