I am trying to execute an expression in Rider 2019.3.3, Dot NET version - 5.0.1. But any expressions evaluated with errors, even the simplest.
Switching to the new version solved the problem.