Overview
This rule flags LINQ expressions where the type of elements of a sequence are checked (by calling System.Linq.Enumerable.Where(System.Collections.Generic.IEnumerable{},System.Func{,System.Boolean})](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.where--1)) and then cast to that type (by calling either [System.Linq.Enumerable.Cast(System.Collections.IEnumerable) or System.Linq.Enumerable.Select(System.Collections.Generic.IEnumerable{},System.Func{,})). The code fixer converts these expressions to call [System.Linq.Enumerable.OfType`(System.Collections.IEnumerable)](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.oftype--1) instead.
Options
This rule has no associated code-style options.