Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Implement codefixes that reduce unnecessary allocation when empty collection required #80

Merged
merged 3 commits into from
Jan 16, 2020

Conversation

cezarypiatek
Copy link
Contributor

@cezarypiatek cezarypiatek commented Jan 6, 2020

This PR implements codefixes requested in #58. I've used Array.Empty<> instead of Enumeration.Empty<> to cover more use cases. All samples can be found in AvoidAllocationWithArrayEmptyCodeFixTests

@cezarypiatek
Copy link
Contributor Author

Hi @mjsabby, any chances for review/merge this PR?

@mjsabby mjsabby merged commit 6376205 into microsoft:master Jan 16, 2020
@mjsabby
Copy link
Contributor

mjsabby commented Jan 16, 2020

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants