Lambra expression not working for timerSolved

I'm programming a plugin and trying to implement a LAMBDA expression for Timer creation based on the following documentation: https://umod.org/documentation/api/timers

As of right now the code looks as follows:

LocationUpdater = timer.Repeat(1f , 0, () => {
Puts("test");
});

This doesn't show any errors in my IDE and follows the documentation exactly. However, when I try to put this code or any code that uses an expression bodied member (see https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/expression-bodied-members), I get an error.

Error while compiling: MarkedForDeath.cs(56,79): error CS1525: Unexpected symbol `)'

It looks like the compiler is not recognizing my LAMBDA statement. I have tried reformatting my code and moving the LAMBDA to different lines, however the same error persists. 

For reference, I am running Version 2.0.4891.0 of Rust Oxide for Linux.

Also a note, the Timer 'LocationUpdater' is defined earlier in the code. I have tried taking out the variable assignment (everything before timer.Repeat(...)) but it did not change the outcome.

is the error actually on this line?

After checking in with others, I was incorrect. The problem was not the lambda, but the value I had in the Timer. I had "30_000f" instead of "30000f". Problem has been solved. Thanks for the help!

Locked automatically