Skip to content

Remove redundant .ToArray()/.ToList()#2944

Merged
kblok merged 8 commits intohardkoded:masterfrom
IliaBrahinets:remove-redundant-toarray-tolist
Aug 11, 2025
Merged

Remove redundant .ToArray()/.ToList()#2944
kblok merged 8 commits intohardkoded:masterfrom
IliaBrahinets:remove-redundant-toarray-tolist

Conversation

@IliaBrahinets
Copy link
Contributor

No description provided.

contexts.CopyTo(allContexts, 1);
return allContexts;
}
public override IBrowserContext[] BrowserContexts() => [DefaultContext, .. _contexts.Values];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is beautiful.

@kblok kblok merged commit e20afd2 into hardkoded:master Aug 11, 2025
21 of 22 checks passed
@IliaBrahinets IliaBrahinets deleted the remove-redundant-toarray-tolist branch August 12, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants