Custom Pattern Inspection

Hi,

Is it possible to use Resharper's Custom Patterns Code Inspection to find all the LINQ query that has a join between IQueryable and IEnumerable? 

for example

var contracts = new List<Contract>();

from customer in Repository.Customers
join contract in contracts on customer.Id equals contract.CustomerId
...
...
..
Select customer

0
2 comments

Hi,

Welcome to the Hub community forum. I have redirected your question to the Resharper support team, they will get back to you shortly. 

0

Hello,

 

Could you please provide more extended code sample which demonstrates the specified query?

You can do it privately via "Submit a request" form on this page - https://resharper-support.jetbrains.com.

Thanks in advance.

0

Please sign in to leave a comment.