Like this photo shows, there is no error showing up.
And also, the code analysis is enabled.
And if I run code inspect for those lines, the result is "no issues found".
Like this photo shows, there is no error showing up.
And also, the code analysis is enabled.
And if I run code inspect for those lines, the result is "no issues found".
I finally figured out the reason. There is a small button on the status bar. Click on it and we can configure its inspect settings. I dont know why Rider is not inspecting any error or warning in MainViewModel.cs or ViewModelBase.cs.
For those curious about why they have this Power Save Mode:
What is "Power Save Mode" in IntelliJ IDEA and other Jetbrains IDEs?