You can roll your separate conditions into a single predicate if you like:
codebase.Methods.Where(x => (x.Body.Scopes.Count > 5) && (x.Foo == "test"));
Or you can use a separate Where
call for each condition:
codebase.Methods.Where(x => x.Body.Scopes.Count > 5)
.Where(x => x.Foo == "test");
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…