I have the following example of CS0279 rule violation. In VS the waning is highlighted, but in Rider it is not. Some of CS* rules in Rider are highlighted and some are not.
public class myTest : IEnumerable
{
IEnumerator IEnumerable.GetEnumerator()
{
yield return 0;
}
internal IEnumerator GetEnumerator()
{
yield return 0;
}
public static void Main()
{
foreach (int i in new myTest()) {} // CS0279
}
}
I have tried to find something about Resharper in Rider settings but there was nothing.
CS0279
is what Microsoft calls a level 2 compiler warning. Warnings like this are only displayed when actually compiling the code:AFAIK it's not possible to display them without compiling, but as I'm curious too, I've contacted JetBrains and will keep you posted.