You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think a lambda argument that itself needs wrapping should always start on next line:
returnpages.Where(
o =>o.PublishOn==pageVersionQuery.Where(p =>p.PageId==o.PageId&&p.PublishOn<parameter.ActiveOn).Max(p =>p.PublishOn));
And worst case where each operand is too long we can wrap each one treating each like it's a method call that would be in its own line:
returnpages.Where(
o =>o.PublishOn==pageVersionQuery.Where(
p =>p.SuperDuperMegaLongPageId==o.SuperDuperMegaLongPageId&&p.SuperDuperMegaLongPublishOn<parameter.SuperDuperMegaLongActiveOn).Max(p =>p.PublishOn));
This issue is stale because it has been open 90 days with no activity and was not assigned a label or milestone. Leave a comment if this still needs to be addressed or this will be closed in 7 days.
Activity
domn1995 commentedon Jun 28, 2026
I think a lambda argument that itself needs wrapping should always start on next line:
And worst case where each operand is too long we can wrap each one treating each like it's a method call that would be in its own line:
github-actions commentedon Sep 27, 2026
This issue is stale because it has been open 90 days with no activity and was not assigned a label or milestone. Leave a comment if this still needs to be addressed or this will be closed in 7 days.