I'd like to inject some other code to replace all usage of LINQ in all code files in my project, without having to change the individual files. Like this:
var arr = items.Where(i => i.Price > 10).Select(i => i.Name).ToArray();
Instead of invoking LINQ-extensions here I want to redirect to this class instead: Company.OtherLinqExtensions, globally in one place.
I have lots of "using System.Linq" here and there. How do I redirect it to Company.OtherLinqExtensions without changing all using statements?