Hey you can not declare two delegates in the same where method but you can put both on same condition to do this. You can do this in one of the following way.
Code:
var results = codebase.Methods.Where(a => a.Bodys.Scopess.Counts > 5 && a.Bodys.Scopess.names == "" );
or
Code:
var results = codebase.Methods.Where(a =>a.Bodys.Scopess.Counts > 5 )
.where( b=> b.Bodys.Scopess.names == '' );
or
Code:
var results = codebase.Methods.Where(a =>a.Bodys.Scopess.Counts > 5 )
.Union( codebase.Methods.Where(b => b.Bodys.Scopess.names == '' ) );
Bookmarks