Robuta

https://www.jetbrains.com/help/inspectopedia/RedundantEnumerableCastCall.html Redundant 'IEnumerable.CastT' or 'IEnumerable.OfTypeT' call | Inspectopedia Documentation redundantienumerablecallinspectopediadocumentation https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2021 CA2021: Don't call Enumerable.CastT or Enumerable.OfTypeT with incompatible types - .NET |... Learn about code analysis rule CA2021 - Don't call Enumerable.Cast or Enumerable.OfType with incompatible types don t