In a asp.mvc project .NET framework 4.6.1 I'm getting a lot of resharper "Type cast is redundant" suggestions to remove cast.
When I remove the type cast, I get an error saying target-type conditional expression not available in C# 7.3, use 9+.
The "C# Language Level" of the project is set to "Experimental".
Can I suppress the resharper messages somehow? Or is there a better solution?
Upload id: 2021_07_10_Fxm9RCHrabAPFuzr (file: 2021-07-10_10-38-04.png)