Resharper – Using custom patterns to catch subtle bugs with OfType<T>
One of the pitfalls with LINQ which I have fallen into on multiple occasions is around the use of the OfType<T> extension method with dictionaries. Either through carelessness or changes to the underlying variable (a class property being changed from list to dictionary for instance) I have ended up using OfType<…> on a dictionary which …
Resharper – Using custom patterns to catch subtle bugs with OfType<T> Read More »